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] 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