From 54915726caca5ab6cf7b1e668a9c3e527790f3f4 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 11 Mar 2024 21:40:00 -0400 Subject: [PATCH] change back to [ ] instead of [[ ]] --- .forgejo/workflows/autotagger.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/autotagger.yaml b/.forgejo/workflows/autotagger.yaml index 3975050..5583b0b 100644 --- a/.forgejo/workflows/autotagger.yaml +++ b/.forgejo/workflows/autotagger.yaml @@ -28,10 +28,10 @@ jobs: run: | COMMIT_MESSAGE=$(echo "${{ steps.extract_commit_message.outputs.message }}") OUTPUT=$(python .forgejo/workflows/scripts/message.py "$COMMIT_MESSAGE") - if [[ "$OUTPUT" = "Usage: python message.py " ]]; then + if [ "$OUTPUT" = "Usage: python message.py " ]; then echo "Called without commit message!" exit 1 - elif [[ "$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"