diff --git a/.forgejo/workflows/autotagger.yaml b/.forgejo/workflows/autotagger.yaml index 5404a0c..14c57d7 100644 --- a/.forgejo/workflows/autotagger.yaml +++ b/.forgejo/workflows/autotagger.yaml @@ -31,8 +31,7 @@ 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)" - MESSAGE=$(git log --format=%B -n 1 $GITHUB_SHA) - echo "::set-output name=message::$MESSAGE" + echo "::set-output name=message::$(echo "$(git log --format=%B -n 1 $GITHUB_SHA)")" - name: Compare version and latest tag id: compare