Skip to content

Commit dd0fac9

Browse files
committed
ci: Fixed a bug that prevented release notes from being extracted from a Git tag.
1 parent ad4f02e commit dd0fac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
156156
run: |
157157
set -e
158-
git for-each-ref github.ref --format='%(contents)' > release-notes.rst
158+
git for-each-ref ${{ github.ref }} --format='%(contents)' > release-notes.rst
159159
# Strip PGP signature from signed tags
160160
sed -i "/-----BEGIN PGP SIGNATURE-----/,/-----END PGP SIGNATURE-----\n/d" release-notes.rst
161161
- name: Convert Release Notes to Markdown

0 commit comments

Comments
 (0)