Skip to content

Commit 3191886

Browse files
author
Hugo Osvaldo Barrera
authored
Merge pull request #901 from pimutils/publish
Publish tags to PyPI
2 parents 46a49e3 + 3260afb commit 3191886

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.builds/tests-release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ packages:
55
- docker
66
- docker-compose
77
- python-pip
8+
- twine
89
sources:
910
- https://github.com/pimutils/vdirsyncer
11+
secrets:
12+
- a36c8ba3-fba0-4338-b402-6aea0fbe771e
1013
environment:
1114
BUILD: test
1215
CI: true
@@ -30,3 +33,8 @@ tasks:
3033
# Non-system python is used for packages:
3134
export PATH=$PATH:~/.local/bin/
3235
make -e style
36+
git describe --exact-match --tags || complete-build
37+
- publish: |
38+
cd vdirsyncer
39+
python setup.py sdist bdist_wheel
40+
twine upload dist/*

0 commit comments

Comments
 (0)