Fix packagecloud wget schema url 13/62413/1
authorHoua Yang <hyang@contractor.linuxfoundation.org>
Tue, 26 Nov 2019 17:14:10 +0000 (11:14 -0600)
committerHoua Yang <hyang@contractor.linuxfoundation.org>
Tue, 26 Nov 2019 17:14:10 +0000 (11:14 -0600)
Fix breaking up the url for packagecloud schema.

Signed-off-by: Houa Yang <hyang@contractor.linuxfoundation.org>
Change-Id: I7799a2237173a714b1b98df39e2ac36ca34d6316

shell/release-job.sh

index 7c78a87..d852a02 100644 (file)
@@ -411,8 +411,7 @@ elif [[ "$DISTRIBUTION_TYPE" == "packagecloud" ]]; then
     package_name=$(yq -r '.package_name' $release_file)
     username_repo="o-ran-sc/staging"
     echo "INFO: Fetching schema $RELEASE_SCHEMA"
-    wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/\
-        schema/${RELEASE_SCHEMA}
+    wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/schema/${RELEASE_SCHEMA}
     verify_schema
     for name in $(yq -r '.package_name[].name' $release_file); do
         package_name=$name