From 97efdf8f19796f7dc823294904d8d216259da92f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 11 Mar 2024 21:39:18 -0400 Subject: [PATCH] use elif --- .forgejo/workflows/autotagger.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"