diff --git a/.forgejo/workflows/autotagger.yaml b/.forgejo/workflows/autotagger.yaml index 86af493..1165379 100644 --- a/.forgejo/workflows/autotagger.yaml +++ b/.forgejo/workflows/autotagger.yaml @@ -31,7 +31,7 @@ jobs: if [ $OUTPUT == "Usage: python message.py "]; then echo "Called without commit message!" exit 1 - else if [ $OUTPUT == "None"]; then + elif [ $OUTPUT == "None"]; then echo "::set-output name=latest_tag::$(git describe --tags --abbrev=0)" else echo "::set-output name=version::$OUTPUT"