Skip to content

Commit d9a8dcc

Browse files
committed
ci: Workaround missing Tag annotation during release.
Closes #1128
1 parent d66e12f commit d9a8dcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ jobs:
173173
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
174174
run: |
175175
set -e
176+
git fetch --tags --force # see https://github.com/actions/checkout/issues/290
176177
git for-each-ref "${GITHUB_REF}" --format='%(contents)' > release-notes.rst
177178
# Strip PGP signature from signed tags
178179
sed -i "/-----BEGIN PGP SIGNATURE-----/,/-----END PGP SIGNATURE-----\n/d" release-notes.rst

0 commit comments

Comments
 (0)