Commit 26cf6d32 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

using twine for uploading packages

parent 87c8d588
......@@ -7,7 +7,6 @@ variables:
stages:
- test
- release
- cleanup
test:all:
stage: test
......@@ -30,15 +29,8 @@ release:pypi:
- yum install -y epel-release
- yum update -y
- yum install -y python34 python34-pip
- echo "[server-login]" > ~/.pypirc
- echo "username=" ${PYPI_USER} >> ~/.pypirc
- echo "password=" ${PYPI_PASSWORD} >> ~/.pypirc
- python3 setup.py check sdist upload
- pip3 install twine
- python3 setup.py sdist
- twine upload dist/* -u ${PYPI_USER} -p ${PYPI_PASSWORD}
only:
- tags
cleanup:secrets:
stage: cleanup
when: always
script:
- rm -f ~/.pypirc
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