update workflow

This commit is contained in:
Gerrit Gogel 2024-07-30 16:12:46 +02:00
parent 8cad3f697d
commit e5117e38fa

View file

@ -38,7 +38,7 @@ jobs:
if [[ "$PREVIOUS_VERSION" != "$CURRENT_VERSION" ]] || [[ -z "$LATEST_TAG" ]]; then
NEXT_BUILD="001"
else
NEXT_BUILD=$(printf "%03d" $((PREVIOUS_BUILD + 1)))
NEXT_BUILD=$(printf "%03d" $((10#$PREVIOUS_BUILD + 1)))
fi
echo "NEXT_BUILD=$NEXT_BUILD" >> $GITHUB_ENV