feat(release_util.sh): Support changing default upload path with env var

This commit is contained in:
Michael Marineau 2013-11-30 17:36:38 -08:00
parent 95388caab1
commit 6dd768b810

View File

@ -3,7 +3,7 @@
# found in the LICENSE file. # found in the LICENSE file.
GSUTIL_OPTS= GSUTIL_OPTS=
UPLOAD_ROOT="gs://storage.core-os.net/coreos" UPLOAD_ROOT="${COREOS_UPLOAD_ROOT:-gs://storage.core-os.net/coreos}"
UPLOAD_PATH= UPLOAD_PATH=
UPLOAD_DEFAULT=${FLAGS_FALSE} UPLOAD_DEFAULT=${FLAGS_FALSE}
if [[ ${COREOS_OFFICIAL:-0} -eq 1 ]]; then if [[ ${COREOS_OFFICIAL:-0} -eq 1 ]]; then