diff --git a/.forgejo/workflows/autotagger.yaml b/.forgejo/workflows/autotagger.yaml index 0c78b74..3975050 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 - 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"