From 545231d5a9f5da4f59ac2bb9601a9bfb9ee45f87 Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Mon, 29 Jul 2019 17:32:05 -0700 Subject: [PATCH] Fix wget release-schema.yaml 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 --- .../notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml | 5 +++++ shell/release-job.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml 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 index 00000000..e0e34c77 --- /dev/null +++ b/releasenotes/notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Download raw version of release-schema.yaml to compare against + release files using lftools. diff --git a/shell/release-job.sh b/shell/release-job.sh index 48d8f2c2..ec59da09 100644 --- a/shell/release-job.sh +++ b/shell/release-job.sh @@ -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" -- 2.16.6