1 parent d790636 commit c1157c4Copy full SHA for c1157c4
1 file changed
.github/workflows/ci.yml
@@ -58,7 +58,8 @@ jobs:
58
- name: Extract release notes from tag
59
id: notes
60
run: |
61
- # Get the annotated tag message (or commit message for lightweight tags)
+ # Re-fetch the tag to ensure the annotated tag object is present
62
+ git fetch origin tag "${GITHUB_REF_NAME}" --force --no-tags
63
NOTES=$(git tag -l --format='%(contents)' "${GITHUB_REF_NAME}")
64
if [ -z "$NOTES" ]; then
65
NOTES=$(git log -1 --format='%B' "${GITHUB_REF_NAME}")
0 commit comments