Fix deploy stage

This commit is contained in:
Piv
2020-08-15 15:37:03 +09:30
parent d99082a00a
commit 953006f5be

View File

@@ -7,9 +7,11 @@ stages:
build:
stage: build
script:
- cd python && python setup.py bdist_wheel
- cd python && python setup.py bdist_wheel && cd ..
deploy:
stage: deploy
script:
- python -m twine upload -u $TWINE_COMMON_CREDS_USR -p $TWINE_COMMON_CREDS_PSW python/dist/*
- python -m twine upload -u $TWINE_COMMON_CREDS_USR -p $TWINE_COMMON_CREDS_PSW python/dist/*
only:
- tags