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