Commit 9e63921f authored by Rémi Cailletaud's avatar Rémi Cailletaud

[skip ci] améliration pypi

parent be15e7b4
......@@ -49,6 +49,8 @@ pypi:
only:
- /^version-.*$/
script:
- version=$(echo $CI_COMMIT_REF_NAME|cut -d "-" -f 2)
- sed -i -e "s/version='.*',/version=$version/g" setup.py
- pip install twine
- pip wheel . -w wheelhouse
- twine upload --repository-url https://test.pypi.org/legacy/ wheelhouse/*
......
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