Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Duncan Macleod
bilby_pipe
Commits
a293d4de
Unverified
Commit
a293d4de
authored
Nov 04, 2022
by
Duncan Macleod
Browse files
ci: upload wheel and tarball to PyPI
closes #250
parent
6f0eddcc
Pipeline
#473745
failed with stages
in 11 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a293d4de
...
...
@@ -244,15 +244,20 @@ build-container:
deploy_release
:
stage
:
deploy
image
:
$PRIMARY_IMAGE
image
:
python
# needs: ["lookup-tables"]
variables
:
TWINE_USERNAME
:
$PYPI_USERNAME
TWINE_PASSWORD
:
$PYPI_PASSWORD
before_script
:
-
pip install twine setuptools_scm
-
python setup.py sdist
-
python -m pip install
build
twine
script
:
-
twine upload dist/*
# generate distributions
-
python -m build
-
ls dist/
# upload them
-
python -m twine upload dist/*
only
:
-
tags
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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