From 3731094b3212e669dd72c71c30b23874b2f52820 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Wed, 14 May 2025 06:29:52 +0200 Subject: [PATCH] ci: Fixed a bug that prevented release notes from being extracted from a Git tag. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 634fa745..841edfea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -155,7 +155,7 @@ jobs: if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') run: | set -e - git for-each-ref github.ref --format='%(contents)' > release-notes.rst + git for-each-ref ${{ github.ref }} --format='%(contents)' > release-notes.rst # Strip PGP signature from signed tags sed -i "/-----BEGIN PGP SIGNATURE-----/,/-----END PGP SIGNATURE-----\n/d" release-notes.rst - name: Convert Release Notes to Markdown