Skip to content

Commit 1b53d31

Browse files
committed
ci/release: append sponsorship details to release notes
Don't add to changelog as we don't want it repeated in CHANGELOG.md but do add to release notes on GitHub which are just published.
1 parent 2a31ea5 commit 1b53d31

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/publish-release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,15 @@ jobs:
5858
5959
- name: Extract changelog
6060
run: |
61-
tail -n+2 .changes/v${{ env.VERSION }}.md \
62-
| tee ${{ github.workspace }}-CHANGELOG.txt
61+
{
62+
tail -n+2 .changes/v${{ env.VERSION }}.md
63+
64+
# Add sponsorship info
65+
echo ""
66+
echo "---"
67+
echo ""
68+
echo "[Support git-spice development](https://github.com/sponsors/abhinav)"
69+
} > ${{ github.workspace }}-CHANGELOG.txt
6370
6471
- name: Tag a release
6572
if: inputs.skip_publish == false

0 commit comments

Comments
 (0)