Use ZUUL_REFNAME to get branch info for reprepro-import
We incorrectly used ZUUL_BRANCH to extract branch info. As pointed out on IRC, we should be using ZUUL_REFNAME. Change-Id: Ieefbb39ddf31355d6a74ac3b4d68887d997270b0 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
7f5d5af617
commit
d5238706d9
@ -5,7 +5,7 @@
|
||||
#!/bin/bash -xe
|
||||
|
||||
AFS_DIR=/afs/.openstack.org/mirror/deb-openstack
|
||||
BRANCH=$(echo $ZUUL_BRANCH | cut -d/ -f2)
|
||||
BRANCH=$(echo $ZUUL_REFNAME | cut -d/ -f2)
|
||||
PACKAGE_DIR=$WORKSPACE/packages
|
||||
PROJECT=$(echo $ZUUL_PROJECT | cut -d/ -f2)
|
||||
URL=http://tarballs.openstack.org/packaging-deb/$PROJECT/uploads/$ZUUL_COMMIT
|
||||
|
Loading…
Reference in New Issue
Block a user