refactor: clean-up build script warnings

This commit is contained in:
CJ van den Berg 2026-01-21 12:15:20 +01:00
parent 331538de36
commit 95735ada9a
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -157,19 +157,19 @@ if [ -z "$NO_FLOWCONTROL" ]; then
ASSETS="$ASSETS --asset $DESTDIR/flow-${VERSION}-source.zip.sha256" ASSETS="$ASSETS --asset $DESTDIR/flow-${VERSION}-source.zip.sha256"
echo uploading to git.flow-control.dev echo uploading to git.flow-control.dev
tea releases create --login flow-control --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes" \ tea releases create --login flow-control --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes" \
$ASSETS "$ASSETS"
fi fi
if [ -z "$NO_CODEBERG" ]; then if [ -z "$NO_CODEBERG" ]; then
for a in $DESTDIR/*; do for a in "$DESTDIR"/*; do
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" \ tea releases create --login codeberg --repo "$repo" --tag "$VERSION" --title "$title $VERSION" --note-file "$release_notes" \
$ASSETS "$ASSETS"
fi fi
if [ -z "$NO_GITHUB" ]; then if [ -z "$NO_GITHUB" ]; then
echo uploading to github.com echo uploading to github.com
gh release create "$VERSION" --repo "$repo" --title "$title $VERSION" --notes-file "$release_notes" $DESTDIR/* gh release create "$VERSION" --repo "$repo" --title "$title $VERSION" --notes-file "$release_notes" "$DESTDIR"/*
fi fi