Compare commits

...

3 commits

View file

@ -121,22 +121,24 @@ cd ..
echo
git log "${last_nightly_version}..HEAD" --pretty="format:neurocyte/$APPNAME@%h %s"
echo
echo
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 "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 "[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"
cat "$release_notes"
if [ -z "$NO_GITHUB" ]; then
echo uploading to github.com
gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/*
if [ -z "$NO_FLOWCONTROL" ]; then
echo uploading to git.flow-control.dev
tea releases create --login flow-control --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes"
fi
if [ -z "$NO_CODEBERG" ]; then
@ -145,10 +147,10 @@ if [ -z "$NO_CODEBERG" ]; then
ASSETS="$ASSETS --asset $a"
done
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
if [ -z "$NO_FLOWCONTROL" ]; then
echo uploading to git.flow-control.dev
tea releases create --login flow-control --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes" --prerelease
if [ -z "$NO_GITHUB" ]; then
echo uploading to github.com
gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/*
fi