aboutsummaryrefslogtreecommitdiff
path: root/tcwg-publish-snapshot.yaml
diff options
context:
space:
mode:
authorRyan S. Arnold <ryan.arnold@linaro.org>2016-11-15 14:53:05 -0600
committerRyan S. Arnold <ryan.arnold@linaro.org>2016-11-15 14:54:53 -0600
commitc884a6d38f53a56f4496f406819d9c685c7b4a6a (patch)
tree1c771cedf8e81f411a0b2701c0ff6ee40a247bc0 /tcwg-publish-snapshot.yaml
parent53f4a62f5d2196b20304cf21d803d34bc3bc093c (diff)
Update tcwg-publish-snapshot.yaml to pull from correct from g.l.o path
git.linaro.org changed git webserver frontends, and therefore the paths to the releases notes README.textile and linaro-cp.py script changed. Change-Id: I43b50754c6466975ee8d345b9b3c23d08819d1e0
Diffstat (limited to 'tcwg-publish-snapshot.yaml')
-rw-r--r--tcwg-publish-snapshot.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tcwg-publish-snapshot.yaml b/tcwg-publish-snapshot.yaml
index 16c815ccda..234ec21368 100644
--- a/tcwg-publish-snapshot.yaml
+++ b/tcwg-publish-snapshot.yaml
@@ -24,8 +24,8 @@
description: 'Publish binaries'
- string:
name: notes_branch
- default: 'refs/heads/toolchain-snapshots'
- description: 'Release notes branch name or sha1'
+ default: 'toolchain-snapshots'
+ description: 'Release notes branch name or sha1, e.g., releases/linaro-6.2-2016.11-rc2'
- bool:
name: notes_only
default: false
@@ -79,8 +79,8 @@
mkdir -p out
# Release notes
- notes_url=https://git.linaro.org/toolchain/release-notes.git/blob_plain/${notes_branch}
- wget ${notes_url}:${notes_path}/README.textile -O out/README.textile
+ notes_url=https://git.linaro.org/toolchain/release-notes.git/plain/
+ wget ${notes_url}${notes_path}/README.textile?h=${notes_branch} -O out/README.textile
if ! ${notes_only}; then
cp ${cp_content} out/
@@ -88,7 +88,7 @@
# Publish to snapshots
test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
+ wget https://git.linaro.org/ci/publishing-api.git/plain/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
time python ${HOME}/bin/linaro-cp.py \
--api_version 3 \
out ${dest_dir}/${snapshot_version}/