Add release notes template generator script

This commit is contained in:
NullBite 2023-06-20 04:28:26 -04:00
parent 1e4a651b21
commit 16c8d529b1
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 10 additions and 0 deletions

View File

@ -1,2 +1,3 @@
.gitea/
README.md
release-notes.sh

9
release-notes.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
current="$(git describe --abbrev=0)"
last="$(git describe HEAD~ --abbrev=0)"
cat << EOF
Changes:
-
**Full Changelog:** [\`$current...$last\`](https://gitea.protogen.io/nullbite/fabric-lite/compare/$current...$last)
EOF