mirror of
https://github.com/docker/compose.git
synced 2025-07-22 13:14:29 +02:00
Merge pull request #4323 from shin-/fix-push-release-script
Use correct wheel file name in twine upload command
This commit is contained in:
commit
62cdd25b7d
@ -60,12 +60,13 @@ sed -i -e 's/logo.png?raw=true/https:\/\/github.com\/docker\/compose\/raw\/maste
|
|||||||
./script/build/write-git-sha
|
./script/build/write-git-sha
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
if [ "$(command -v twine 2> /dev/null)" ]; then
|
if [ "$(command -v twine 2> /dev/null)" ]; then
|
||||||
twine upload ./dist/docker-compose-${VERSION/-/}.tar.gz ./dist/docker-compose-${VERSION/-/}-py2.py3-none-any.whl
|
twine upload ./dist/docker-compose-${VERSION/-/}.tar.gz ./dist/docker_compose-${VERSION/-/}-py2.py3-none-any.whl
|
||||||
else
|
else
|
||||||
python setup.py upload
|
python setup.py upload
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Testing pip package"
|
echo "Testing pip package"
|
||||||
|
deactivate || true
|
||||||
virtualenv venv-test
|
virtualenv venv-test
|
||||||
source venv-test/bin/activate
|
source venv-test/bin/activate
|
||||||
pip install docker-compose==$VERSION
|
pip install docker-compose==$VERSION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user