X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d97785515ef9feb2a6cb833ef34c089d9e5f1d99..056d1819f3d98d8526ca59d7118ff9ce2d48aa0d:/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 b936842e69..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 +#!/bin/bash # Copyright (C) The Arvados Authors. All rights reserved. # # SPDX-License-Identifier: AGPL-3.0 @@ -10,12 +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 - If the build is for a Release Candidate this param must be passed + Optional Parameter to build Release Candidate --build-version Version to build (default: \$ARVADOS_BUILDING_VERSION-\$ARVADOS_BUILDING_ITERATION or @@ -48,8 +48,9 @@ if [ $? -ne 0 ]; then exit 1 fi -TARGET=debian8 +TARGET=debian9 UPLOAD=0 +RC=0 declare -a build_args=() @@ -69,7 +70,7 @@ while [ $# -gt 0 ]; do ;; --rc) RC=1 - ;; + ;; --build-version) build_args+=("$1" "$2") shift