Revert "Update auto_release.yml"

This reverts commit caad17d776.
This commit is contained in:
Gerrit Gogel 2023-09-09 13:35:29 +02:00 committed by Gerrit Gogel
parent caad17d776
commit 0ff1f40dbb

View file

@ -28,7 +28,7 @@ jobs:
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
if [[ -n "$LATEST_TAG" ]]; then
PREVIOUS_BUILD=$(echo $LATEST_TAG | awk -F_ '{print $2}' | awk -F- '{print $1}')
PREVIOUS_BUILD=$(echo $LATEST_TAG | awk -F_ '{print $2}')
NEXT_BUILD=$(printf "%03d" $((PREVIOUS_BUILD + 1)))
else
NEXT_BUILD="001"
@ -93,4 +93,4 @@ jobs:
-t ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }} \
-F RELEASE_NOTES.md \
--draft=false \
--prerelease=false
--prerelease=false