From 8633bda6c5cfba833a375be60837ce62730a7934 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 29 Mar 2024 08:16:16 -0400 Subject: [PATCH] fix: changing how the message variable is captured --- .forgejo/workflows/autotagger.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/autotagger.yaml b/.forgejo/workflows/autotagger.yaml index f80f898..5404a0c 100644 --- a/.forgejo/workflows/autotagger.yaml +++ b/.forgejo/workflows/autotagger.yaml @@ -31,7 +31,8 @@ jobs: git fetch --tags echo "::set-output name=latest_tag::$(git describe --tags `git rev-list --tags --max-count=1`)" echo "::set-output name=version::$(awk -F '=' '/^ *version/ {gsub(/[[:space:]"]/, "", $2); print $2}' pyproject.toml)" - echo "::set-output name=message::$(git log --format=%B -n 1 $GITHUB_SHA)" + MESSAGE=$(git log --format=%B -n 1 $GITHUB_SHA) + echo "::set-output name=message::$MESSAGE" - name: Compare version and latest tag id: compare