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