Fixed duplicate name problem for binstar packages

This commit is contained in:
Jorrit Wronski
2015-07-13 00:41:17 +02:00
parent c8f542c014
commit f4cda1d828

View File

@@ -129,14 +129,15 @@ else
RSYNC_OPTS="-a --no-perms -z --stats --delete"
binstar upload --force -u coolprop -t pypi -c dev $BINFOLDER/Python/*.tar.gz
#conda index $BINFOLDER/Python_conda/*
binstar upload --force -u coolprop -t conda -c dev $BINFOLDER/Python_conda/*/*
binstar upload --force -u coolprop -t conda -c dev $BINFOLDER/Python_conda/*/*.tar.bz2
else
RSYNC_OPTS="-a --no-perms -z --stats"
printMessage "Detected full release, uploading the python binaries to pypi"
twine upload $BINFOLDER/Python/*.whl $BINFOLDER/Python/*.tar.gz
printMessage "and uploading the python binaries to binstar"
binstar upload --force -u coolprop -t pypi -c main $BINFOLDER/Python/*.tar.gz
#conda index $BINFOLDER/Python_conda/*
binstar upload --force -u coolprop -t conda -c main $BINFOLDER/Python_conda/*/*
binstar upload --force -u coolprop -t conda -c main $BINFOLDER/Python_conda/*/*.tar.bz2
fi
popd
fi