Skip to content

Commit 0a2f514

Browse files
Release 0.1.7rc1
1 parent 2b3173d commit 0a2f514

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build and Test
22

33
on:
4+
release:
5+
types: [ published ]
46
push:
57
branches: [ master ]
68
pull_request:
@@ -67,7 +69,7 @@ jobs:
6769
working-directory: ${{ github.workspace }}/tmp/sdist
6870

6971
- 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
7173
uses: pypa/gh-action-pypi-publish@v1.4.2
7274
with:
7375
user: __token__

doc/changelog.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ Changelog
44
..
55
TODO Uncomment this:
66
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.
913

10-
To be released.
1114

1215
Version 0.1.6
1316
-------------

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
# Do not change the variable name. It's parsed by doc/conf.py script.
10-
version = '0.1.6'
10+
version = '0.1.7rc1'
1111

1212
requires = ['Sphinx >= 1.2', 'six']
1313

0 commit comments

Comments
 (0)