build: improve nightly release notes commit references

This commit is contained in:
CJ van den Berg 2025-09-22 22:02:15 +02:00
parent 099444f84d
commit a870254166
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -53,7 +53,9 @@ if [ "$local_version" == "$last_nightly_version" ]; then
fi fi
echo echo
echo "building $title version $local_version..." echo "building $title version $local_version... (previous $last_nightly_version)"
echo
git log "${last_nightly_version}..HEAD" --pretty="format:neurocyte/$APPNAME@%h %s"
echo echo
echo running tests... echo running tests...
@ -107,7 +109,7 @@ cd ..
echo "commits:" echo "commits:"
echo echo
} >"$release_notes" } >"$release_notes"
git log "${last_nightly_version}..HEAD" --pretty="format:%h %s" >>"$release_notes" git log "${last_nightly_version}..HEAD" --pretty="format:neurocyte/$APPNAME@%h %s" >>"$release_notes"
cat "$release_notes" cat "$release_notes"
gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/* gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/*