From 4921ee22eb8feb7c7b22cb09a8a06055294e4574 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 11 Mar 2024 21:33:49 -0400 Subject: [PATCH] use elif instead of else if --- .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 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"