Fix wget release-schema.yaml 69/16369/2
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 30 Jul 2019 00:32:05 +0000 (17:32 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 30 Jul 2019 00:33:29 +0000 (17:33 -0700)
Download raw version of release-schema.yaml to
compare against release files using lftools.

Issue: RELENG-2131
Change-Id: I82b505260ff172ddb47ad0e58e8721f91ed98581
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
releasenotes/notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml [new file with mode: 0644]
shell/release-job.sh

diff --git a/releasenotes/notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml b/releasenotes/notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml
new file mode 100644 (file)
index 0000000..e0e34c7
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Download raw version of release-schema.yaml to compare against
+    release files using lftools.
index 48d8f2c..ec59da0 100644 (file)
@@ -37,7 +37,7 @@ fi
 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
 
 # Fetch the release-schema.yaml
-wget -q https://github.com/lfit/releng-global-jjb/blob/master/schema/release-schema.yaml
+wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/schema/release-schema.yaml
 
 release_files=$(git diff HEAD^1 --name-only -- "releases/")
 echo "RELEASE FILES ARE AS FOLLOWS: $release_files"