Compare commits

..

3 commits

View file

@ -121,22 +121,24 @@ cd ..
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 "contributors to this release:" echo "contributors to this release:"
git shortlog -s -n "${last_nightly_version}..HEAD" git shortlog -s -n "${last_nightly_version}..HEAD" | cut -b 8-
echo
echo echo
echo "also available at:" echo "also available at:"
echo "[git.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)"
echo "[github.com](https://github.com/neurocyte/flow-nightly/releases/tag/$VERSION)" echo "[github.com](https://github.com/neurocyte/flow-nightly/releases/tag/$VERSION)"
echo "[flow-control.dev](https://codeberg.org/neurocyte/flow-nightly/releases/tag/$VERSION)" echo "[codeberg.org](https://codeberg.org/neurocyte/flow-nightly/releases/tag/$VERSION)"
} >"$release_notes" } >"$release_notes"
cat "$release_notes" cat "$release_notes"
if [ -z "$NO_GITHUB" ]; then if [ -z "$NO_FLOWCONTROL" ]; then
echo uploading to github.com echo uploading to git.flow-control.dev
gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/* tea releases create --login flow-control --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes"
fi fi
if [ -z "$NO_CODEBERG" ]; then if [ -z "$NO_CODEBERG" ]; then
@ -145,10 +147,10 @@ if [ -z "$NO_CODEBERG" ]; then
ASSETS="$ASSETS --asset $a" ASSETS="$ASSETS --asset $a"
done done
echo uploading to codeberg.org echo uploading to codeberg.org
tea releases create --login codeberg --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes" --prerelease $ASSETS tea releases create --login codeberg --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes" $ASSETS
fi fi
if [ -z "$NO_FLOWCONTROL" ]; then if [ -z "$NO_GITHUB" ]; then
echo uploading to git.flow-control.dev echo uploading to github.com
tea releases create --login flow-control --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes" --prerelease gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/*
fi fi