X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/159bbdc44f02a590db6ac5cbe13240b273b6ebd3..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 03bbc61424..962940b799 100755 --- a/build/run-build-test-packages-one-target.sh +++ b/build/run-build-test-packages-one-target.sh @@ -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 @@ -134,4 +135,4 @@ if [[ "$UPLOAD" != 0 ]]; then title "End of upload packages (`timer`)" fi -exit_cleanly \ No newline at end of file +exit_cleanly