build: improve nightly build release notes

This commit is contained in:
CJ van den Berg 2025-09-23 15:20:13 +02:00
parent 34594942c7
commit 024eb8b43b
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -128,24 +128,20 @@ echo
cd .. cd ..
{ {
echo "$title" "$VERSION" echo "## commits in this build"
echo
echo "commits:"
echo echo
git log "${last_nightly_version}..HEAD" --pretty="format:neurocyte/$APPNAME@%h %s" git log "${last_nightly_version}..HEAD" --pretty="format:neurocyte/$APPNAME@%h %s"
echo echo
echo echo
echo "contributors to this release:" echo "## contributors"
git shortlog -s -n "${last_nightly_version}..HEAD" | cut -b 8- git shortlog -s -n "${last_nightly_version}..HEAD" | cut -b 8-
echo echo
echo
echo "also available at:" echo "## downloads"
echo "[flow-control.dev](https://git.flow-control.dev/neurocyte/flow-nightly/releases/tag/$VERSION)" echo "[flow-control.dev](https://git.flow-control.dev/neurocyte/flow-nightly/releases/tag/$VERSION) (source only)"
echo "[github.com](https://github.com/neurocyte/flow-nightly/releases/tag/$VERSION)" echo "[github.com](https://github.com/neurocyte/flow-nightly/releases/tag/$VERSION) (binaries & source)"
echo "[codeberg.org](https://codeberg.org/neurocyte/flow-nightly/releases/tag/$VERSION)" echo "[codeberg.org](https://codeberg.org/neurocyte/flow-nightly/releases/tag/$VERSION) (binaries & source)"
} >"$release_notes" } >"$release_notes"
cat "$release_notes" cat "$release_notes"
@ -175,5 +171,5 @@ fi
if [ -z "$NO_GITHUB" ]; then if [ -z "$NO_GITHUB" ]; then
echo uploading to github.com echo uploading to github.com
gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/* gh release create "$VERSION" --repo "$repo" --title "$title $VERSION" --notes-file "$release_notes" $DESTDIR/*
fi fi