From 7e44152110066b4a2f06eb457834d66c4d3f4177 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 12 Feb 2022 18:01:53 +0100 Subject: [PATCH] fix release, allow predefined vars --- contrib/docker/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/docker/build.sh b/contrib/docker/build.sh index 583f3346..1a1c6c54 100755 --- a/contrib/docker/build.sh +++ b/contrib/docker/build.sh @@ -9,10 +9,10 @@ fi archs=linux/amd64,linux/386,linux/arm/v7,linux/arm64 if [[ -z "$1" ]] || [[ "x$1" == "xrelease" ]]; then UPLOAD_URL= -else +elif [[ -z "$UPLOAD_URL" ]]; then UPLOAD_URL="http://$1/ebusdreleaseupload.php" fi -UPLOAD_CREDENTIALS='anonymous:build' +UPLOAD_CREDENTIALS=${UPLOAD_CREDENTIALS:-'anonymous:build'} version=`cat ../../VERSION` source='../..' images='bullseye' @@ -34,7 +34,7 @@ else namesuffix='.build' target=build images='bullseye buster stretch' - outputFmt=-q + outputFmt= tagsuffix=":v$version-prep" fi