Skip to content

Commit

Permalink
Ensure current image build value is taken into account when increment…
Browse files Browse the repository at this point in the history
…ing build number
  • Loading branch information
ryanemerson committed Oct 22, 2024
1 parent ececc91 commit 8378cc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/scripts/update_image_descriptors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function requiredEnv() {
function nextImageVersion() {
BUILD=1
if [[ "${CURRENT_VERSION}" == ${ISPN_VERSION}* ]]; then
BUILD=${CURRENT_VERSION##*-}
BUILD=$((BUILD+1))
fi
echo ${ISPN_VERSION}-${BUILD}
Expand Down

0 comments on commit 8378cc4

Please sign in to comment.