scripts: Script for outputting markdown changelog

This commit is contained in:
cloudhead 2024-05-02 17:00:14 +02:00
parent 0d880e12e1
commit 2c6fa989cb
No known key found for this signature in database
1 changed files with 23 additions and 0 deletions

23
scripts/changelog Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
set -e
echo "# 👾 Radicle $(git describe)"
echo
echo "Radicle $(git describe) ($(git rev-parse --short HEAD)) is released."
echo
echo "## Notes"
echo
echo "* This update is recommended for everyone. No manual intervention is required."
echo
echo "## Changelog"
echo
git log --pretty=format:'* `%h` **%s** *<%ae>*' $(git describe --abbrev=0 HEAD^)..HEAD
echo
echo "## Checksums"
echo
echo '```'
build/checksums
echo '```'