Skip to content
Snippets Groups Projects
Commit 26cf6d32 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

using twine for uploading packages

parent 87c8d588
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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
......@@ -7,3 +7,4 @@ pytest
pytest-runner
pytest-mock
responses
twine
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment