File tree 3 files changed +10
-5
lines changed 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Test
2
2
3
3
on :
4
+ release :
5
+ types : [ published ]
4
6
push :
5
7
branches : [ master ]
6
8
pull_request :
67
69
working-directory : ${{ github.workspace }}/tmp/sdist
68
70
69
71
- name : Publish package
70
- if : github.event_name == 'push ' && startsWith(github.ref, 'refs/tags') && matrix.python-version == 3.9
72
+ if : github.event_name == 'release ' && startsWith(github.ref, 'refs/tags') && matrix.python-version == 3.9
71
73
uses : pypa/gh-action-pypi-publish@v1.4.2
72
74
with :
73
75
user : __token__
Original file line number Diff line number Diff line change @@ -4,10 +4,13 @@ Changelog
4
4
..
5
5
TODO Uncomment this:
6
6
7
- Version 0.1.7
8
- -------------
7
+ Version 0.1.7
8
+ -------------
9
+
10
+ Released on February 10, 2021.
11
+
12
+ - Publish to PyPI via Github Actions.
9
13
10
- To be released.
11
14
12
15
Version 0.1.6
13
16
-------------
Original file line number Diff line number Diff line change 7
7
8
8
9
9
# Do not change the variable name. It's parsed by doc/conf.py script.
10
- version = '0.1.6 '
10
+ version = '0.1.7rc1 '
11
11
12
12
requires = ['Sphinx >= 1.2' , 'six' ]
13
13
You can’t perform that action at this time.
0 commit comments