diff --git a/.github/workflows/ter-release.yml b/.github/workflows/ter-release.yml index b1591c5..a15fee2 100644 --- a/.github/workflows/ter-release.yml +++ b/.github/workflows/ter-release.yml @@ -29,7 +29,7 @@ jobs: id: get-comment run: | cd ${GITHUB_WORKSPACE} - comment=$(git tag -n10 -l ${{ env.version }} | sed "s/^[0-9.]*[ ]*//g" | sed "/^$/d") + comment=$(git tag -l --format='%(contents)' ${{ env.version }} | sed -n '3,$p') echo "Tag comment: $comment" # Debugging line if [[ -z "${comment// }" ]]; then