Verified Commit 2c5f94a8 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Upload release to pypi when a new tag is uploaded.

parent fd8a0038
......@@ -5,7 +5,7 @@ before_script:
pacman -Syu --needed --noconfirm
make base-devel python python-pkgconfig
python-pytest python-pytest-cov python-pytest-pacman
python-sphinx python-pylint
python-sphinx python-pylint twine
stages:
......@@ -42,6 +42,14 @@ next:
- cd pacman && mkdir build && cd build && meson .. && ninja
- cd $CI_PROJECT_DIR && PKG_CONFIG_PATH=./pacman/build/meson-uninstalled make build
pypi:
only:
- tags
- secure
script:
- python setup.py sdist
- twine upload -s dist/*
include:
- template: Security/SAST.gitlab-ci.yml
......
Supports Markdown
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