diff --git a/.github/workflows/ter-release.yml b/.github/workflows/ter-release.yml index e8c39f4..e7cb5b0 100644 --- a/.github/workflows/ter-release.yml +++ b/.github/workflows/ter-release.yml @@ -30,8 +30,7 @@ jobs: run: | cd ${GITHUB_WORKSPACE} echo "Fetching tag message for version: ${{ env.version }}" # Debugging line - git for-each-ref refs/tags/${{ env.version }} --format='%(contents)' # Debugging line - tag_message=$(git for-each-ref refs/tags/${{ env.version }} --format='%(contents)' | sed -n '3,$p') + tag_message=$(git show ${{ env.version }} --no-patch --format=%B | sed -n '3,$p') echo "Tag message: $tag_message" # Debugging line if [[ -z "${tag_message// }" ]]; then