Merge branch 'master' into 15209-python-arv-deps-pinned
[arvados.git] / build / run-build-test-packages-one-target.sh
index 03bbc61424cfbba8e4fd765c407ee4edc1ad31d4..962940b799bd1907cc0540dd60a0f96643ebeb18 100755 (executable)
@@ -10,12 +10,12 @@ Syntax:
         WORKSPACE=/path/to/arvados $(basename $0) [options]
 
 --target <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>
     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