Skip to content
Snippets Groups Projects
Commit 8f2f7d43 authored by Thibault Debatty's avatar Thibault Debatty
Browse files

upload packages to pypi

parent 171dee43
No related branches found
No related tags found
No related merge requests found
Pipeline #10419 passed
......@@ -36,12 +36,15 @@ build:
- apt-get install -y gettext-base
- apt-get install -y python3-venv
- python3 -m pip install --upgrade build
- python3 -m pip install --upgrade twine
script:
# write VERSION file
- echo $CI_COMMIT_TAG > src/dokos/VERSION
# create the new pyproject.toml
- envsubst < pyproject.tmpl > pyproject.toml
- python3 -m build
# upload to pypi
- python3 -m twine upload dist/*
# packages are readable only by root
# => causes curl error at upload :-/
- chmod -R a+r dist
......
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