From e5117e38facb49862fd59117c777e051076ae527 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Tue, 30 Jul 2024 16:12:46 +0200 Subject: [PATCH] update workflow --- .github/workflows/auto_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml index ce43a93..baa3ddf 100644 --- a/.github/workflows/auto_release.yml +++ b/.github/workflows/auto_release.yml @@ -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