X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/47a38cc79483fde0446af38ba2d685178b2eea51..c505682a9b5e6dc9e720b568929d786836eadbe1:/build/run-build-test-packages-one-target.sh diff --git a/build/run-build-test-packages-one-target.sh b/build/run-build-test-packages-one-target.sh index b235b1561f..962940b799 100755 --- a/build/run-build-test-packages-one-target.sh +++ b/build/run-build-test-packages-one-target.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash # Copyright (C) The Arvados Authors. All rights reserved. # # SPDX-License-Identifier: AGPL-3.0 @@ -10,10 +10,12 @@ Syntax: WORKSPACE=/path/to/arvados $(basename $0) [options] --target - Distribution to build packages for (default: debian8) + Distribution to build packages for (default: debian9) --upload If the build and test steps are successful, upload the packages to a remote apt repository (default: false) +--rc + Optional Parameter to build Release Candidate --build-version Version to build (default: \$ARVADOS_BUILDING_VERSION-\$ARVADOS_BUILDING_ITERATION or @@ -46,8 +48,9 @@ if [ $? -ne 0 ]; then exit 1 fi -TARGET=debian8 +TARGET=debian9 UPLOAD=0 +RC=0 declare -a build_args=() @@ -67,7 +70,7 @@ while [ $# -gt 0 ]; do ;; --rc) RC=1 - ;; + ;; --build-version) build_args+=("$1" "$2") shift