Commit 76c0c7ad authored by James Coyle's avatar James Coyle

Fixes to build file

parent d2b90b2d
Pipeline #1080 passed with stages
in 1 second
......@@ -13,23 +13,23 @@ stages:
- cleanup
set-env:
stage: set-env
when: always
script:
- rm -rf ~/.pypirc
- echo "[distutils]" >> ~/.pypirc
- echo "index-servers=" >> ~/.pypirc
- echo " pypi" >> ~/.pypirc
- echo " pypitest" >> ~/.pypirc
- echo "" >> ~/.pypirc
- echo "[pypi]" >> ~/.pypirc
- echo "repository=https://pypi.python.org/pypi"
- echo "repository=https://pypi.python.org/pypi" >> ~/.pypirc
- echo "username=" ${PYPI_USERNAME} >> ~/.pypirc
- echo "password=" ${PYPI_LIVE_PASSWORD} >> ~/.pypirc
- echo "" >> ~/.pypirc
- echo "[pypitest]" >> ~/.pypirc
- echo "repository=https://testpypi.python.org/pypi"
- echo "repository=https://testpypi.python.org/pypi" >> ~/.pypirc
- echo "username=" ${PYPI_USERNAME} >> ~/.pypirc
- echo "password=" ${PYPI_TEST_PASSWORD} >> ~/.pypirc
- chmod 600 ~/.pypirc
......@@ -49,10 +49,10 @@ deploy-test:
cleanup_deploy:
cleanup_pypirc:
stage: cleanup
when: always
script:
- echo rm -vf ~/.pypirc
- echo rm -rf ~/.pypirc
tags:
- storjapi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment