From 3260afb4955c130e067d4c1466f84a4e99280e3e Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Sun, 13 Jun 2021 14:20:28 +0200 Subject: [PATCH] Publish tags to PyPI --- .builds/tests-release.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.builds/tests-release.yaml b/.builds/tests-release.yaml index 793c044..6abcb44 100644 --- a/.builds/tests-release.yaml +++ b/.builds/tests-release.yaml @@ -5,8 +5,11 @@ packages: - docker - docker-compose - python-pip + - twine sources: - https://github.com/pimutils/vdirsyncer +secrets: + - a36c8ba3-fba0-4338-b402-6aea0fbe771e environment: BUILD: test CI: true @@ -30,3 +33,8 @@ tasks: # Non-system python is used for packages: export PATH=$PATH:~/.local/bin/ make -e style + git describe --exact-match --tags || complete-build + - publish: | + cd vdirsyncer + python setup.py sdist bdist_wheel + twine upload dist/*