Only attempt to rename tarballs in tarball job.
The branch tarball job for python projects has been failing since we started writing md5 and sha1 sums to files because it is trying to copy multiple files to a single destination. Only attempt to rename tar.gz files so that we have a 1:1 relationship between source tarball and renamed branch destination tarball. Change-Id: I744b959717269fc50846efba8639908079e6d0ff
This commit is contained in:
parent
8fae0bcccd
commit
75e6fde6d9
@ -206,7 +206,7 @@
|
|||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
BRANCH=$ZUUL_REFNAME
|
BRANCH=$ZUUL_REFNAME
|
||||||
BRANCH_PATH=`echo $BRANCH | tr / -`
|
BRANCH_PATH=`echo $BRANCH | tr / -`
|
||||||
mv dist/* dist/{name}-$BRANCH_PATH.tar.gz
|
mv dist/*.tar.gz dist/{name}-$BRANCH_PATH.tar.gz
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
- tarball:
|
- tarball:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user