Skip to content

Commit

Permalink
Fix naming issue in rc3 (#2065)
Browse files Browse the repository at this point in the history
Have naming.sh deal separately with base and other artifacts
  • Loading branch information
mauromorales committed Dec 7, 2023
1 parent af05f70 commit 25c98b2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion images/naming.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,24 @@ common_artifact_name() {
echo 'KAIROS_VERSION must be defined'
exit 1
fi
if [ -z "$FLAVOR_RELEASE" ]; then
echo 'FLAVOR_RELEASE must be defined'
exit 1
fi
if [ -z "$VARIANT" ]; then
echo 'VARIANT must be defined'
exit 1
fi
if [ -z "$TARGETARCH" ]; then
echo 'TARGETARCH must be defined'
exit 1
fi
if [ -z "$MODEL" ]; then
echo 'MODEL must be defined'
exit 1
fi

echo "$(common_artifact_base_name)-$KAIROS_VERSION"
echo "$FLAVOR_RELEASE-$VARIANT-$TARGETARCH-$MODEL-$KAIROS_VERSION"
}

common_artifact_base_name() {
Expand Down

0 comments on commit 25c98b2

Please sign in to comment.