diff --git a/.forgejo/workflows/actions.yaml b/.forgejo/workflows/actions.yaml index 92533ed..2793a9f 100644 --- a/.forgejo/workflows/actions.yaml +++ b/.forgejo/workflows/actions.yaml @@ -127,6 +127,7 @@ jobs: run: | COMMIT_MESSAGE=$(git log --format=%B -n 1 $GITHUB_SHA) ESCAPED_COMMIT_MESSAGE="${COMMIT_MESSAGE@Q}" + echo "Commit message: $ESCAPED_COMMIT_MESSAGE" echo "message=$ESCAPED_COMMIT_MESSAGE" >> $GITHUB_OUTPUT - name: Check commit message @@ -155,7 +156,7 @@ jobs: - name: Update latest tag if: steps.check_commit_message.outputs.latest_tag != '' run: | - COMMIT_MESSAGE="$(steps.extract_commit_message.outputs.message)" + COMMIT_MESSAGE="${{ steps.extract_commit_message.outputs.message }}" LATEST_TAG="${{ steps.check_commit_message.outputs.latest_tag }}" git tag -fs $LATEST_TAG -m "$COMMIT_MESSAGE" git push origin $LATEST_TAG --force