From 54456517769a7639c9b6a8aba6094138a5bb14a9 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 23 Sep 2025 13:21:31 +0200 Subject: [PATCH 1/3] build: fix typo in nightly build release notes --- contrib/make_nightly_build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/make_nightly_build b/contrib/make_nightly_build index e8932e4..d96063c 100755 --- a/contrib/make_nightly_build +++ b/contrib/make_nightly_build @@ -121,15 +121,17 @@ 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" From f2b1451b3e6e6423e0213ca9d22da6566e904c41 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 23 Sep 2025 13:22:13 +0200 Subject: [PATCH 2/3] build: do not mark nightly builds as pre-release on codeberg --- contrib/make_nightly_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/make_nightly_build b/contrib/make_nightly_build index d96063c..bde8414 100755 --- a/contrib/make_nightly_build +++ b/contrib/make_nightly_build @@ -147,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 + tea releases create --login flow-control --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes" fi From 6a84c222d018e394387ce6fbe38994ed80f45b32 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 23 Sep 2025 13:23:56 +0200 Subject: [PATCH 3/3] build: reverse upload order of nightly builds --- contrib/make_nightly_build | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/make_nightly_build b/contrib/make_nightly_build index bde8414..95be193 100755 --- a/contrib/make_nightly_build +++ b/contrib/make_nightly_build @@ -136,9 +136,9 @@ cd .. 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 @@ -150,7 +150,7 @@ if [ -z "$NO_CODEBERG" ]; then 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" +if [ -z "$NO_GITHUB" ]; then + echo uploading to github.com + gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/* fi