Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
continuous-everything
ci
Commits
9e63921f
Commit
9e63921f
authored
Aug 29, 2018
by
Rémi Cailletaud
Browse files
[skip ci] améliration pypi
parent
be15e7b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9e63921f
...
...
@@ -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/*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment