aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2015-03-26 13:19:00 -0600
committerRob Savoye <rob.savoye@linaro.org>2015-03-26 13:19:00 -0600
commite595a54cdd38f7a973c1467a6a6ea1f976a034e9 (patch)
tree33567d09bb03724f8281f32ff24c7691e789e66c /scripts
parent3808b850a0bab0e3f643ab86e30269b38aaf8097 (diff)
only copy the tarballs that just got built.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/MakeRelease.job4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/MakeRelease.job b/scripts/MakeRelease.job
index 1a6d8f22..0ede4c93 100755
--- a/scripts/MakeRelease.job
+++ b/scripts/MakeRelease.job
@@ -143,7 +143,9 @@ if test x"${tarbin}" = xyes; then
manifest="`find ${user_workspace} -name manifest.txt`"
ssh ${fileserver} "if test ! -d ${binaries}; then mkdir -p ${binaries}; fi"
scp ${manifest} ${fileserver}:${binaries}/
- scp ${user_snapshots}/*.xz ${user_snapshots}/*.asc ${fileserver}:${binaries}/
+ tarballs="`find ${user_snapshots} -name \*${release}\*.{xz,asc}`"
+ scp $ ${tarballs} ${fileserver}:${binaries}/
+# rm -f ${user_snapshots}/*.xz ${user_snapshots}/*.asc
if test x"${check}" != x; then
sums="`find ${user_workspace} -name \*.sum`"
logs="`find ${user_workspace} -name \*.log`"