Always fetch meta refs before building tarball.
Change-Id: I7c35fe63b3f99f5bd0c203cd82eec111657b8f82 Reviewed-on: https://review.openstack.org/18394 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
4761fdb396
commit
eb5cec757c
@ -20,7 +20,6 @@ PROJECT=$1
|
||||
|
||||
find_next_version() {
|
||||
datestamp="${datestamp:-$(date +%Y%m%d)}"
|
||||
git fetch $META_URL/$ZUUL_PROJECT +refs/meta/*:refs/remotes/meta/*
|
||||
if [[ $BRANCH =~ ^stable/.*$ ]]
|
||||
then
|
||||
milestonever=""
|
||||
@ -44,6 +43,7 @@ find_next_version() {
|
||||
}
|
||||
|
||||
|
||||
git fetch $META_URL/$ZUUL_PROJECT +refs/meta/*:refs/remotes/meta/*
|
||||
rm -f dist/*.tar.gz
|
||||
if [ -f setup.py ] ; then
|
||||
tox -evenv python setup.py sdist
|
||||
|
Loading…
x
Reference in New Issue
Block a user