File tree Expand file tree Collapse file tree 2 files changed +27
-9
lines changed Expand file tree Collapse file tree 2 files changed +27
-9
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,9 @@ packages:
5
5
- docker
6
6
- docker-compose
7
7
- python-pip
8
- - twine
9
8
sources :
10
9
- https://github.com/pimutils/vdirsyncer
11
10
secrets :
12
- - a36c8ba3-fba0-4338-b402-6aea0fbe771e
13
11
- 4d9a6dfe-5c8d-48bd-b864-a2f5d772c536
14
12
environment :
15
13
BUILD : test
@@ -40,10 +38,3 @@ tasks:
40
38
cd vdirsyncer
41
39
export PATH=$PATH:~/.local/bin/
42
40
DAV_SERVER=fastmail pytest tests/storage
43
- - check-tag : |
44
- # Stop here unless this is a tag.
45
- git describe --exact-match --tags || complete-build
46
- - publish : |
47
- cd vdirsyncer
48
- python setup.py sdist bdist_wheel
49
- twine upload dist/*
Original file line number Diff line number Diff line change
1
+ # Run new version to PyPI.
2
+ #
3
+ # Usage: hut builds submit publish-release.yaml --follow
4
+
5
+ image : alpine/edge
6
+ packages :
7
+ - py3-pip
8
+ - py3-setuptools
9
+ - py3-wheel
10
+ - twine
11
+ sources :
12
+ - https://github.com/pimutils/vdirsyncer
13
+ secrets :
14
+ - a36c8ba3-fba0-4338-b402-6aea0fbe771e # PyPI token.
15
+ environment :
16
+ CI : true
17
+ tasks :
18
+ - check-tag : |
19
+ cd vdirsyncer
20
+ git fetch --tags
21
+
22
+ # Stop here unless this is a tag.
23
+ git describe --exact-match --tags || complete-build
24
+ - publish : |
25
+ cd vdirsyncer
26
+ python setup.py sdist bdist_wheel
27
+ twine upload dist/*
You can’t perform that action at this time.
0 commit comments