Skip to content

Commit 9901f0c

Browse files
authored
Merge pull request #113 from bookernath/cd-action
Change CD GH action to be trigged on release instead of push, and bump version/release
2 parents 361c936 + 700516a commit 9901f0c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
22

33
on:
4-
push:
5-
branches: [master, main]
4+
release:
5+
types: [released]
66

77
jobs:
88
build-n-publish:
@@ -28,7 +28,6 @@ jobs:
2828
--wheel
2929
--outdir dist/
3030
- name: Publish distribution 📦 to PyPI
31-
if: startsWith(github.ref, 'refs/tags')
3231
uses: pypa/gh-action-pypi-publish@release/v1
3332
with:
3433
password: ${{ secrets.PYPI_API_TOKEN }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def read(fname):
77
return open(os.path.join(os.path.dirname(__file__), fname)).read()
88

99

10-
VERSION = '0.23.1'
10+
VERSION = '0.23.2'
1111

1212
setup(
1313
name='bigcommerce',

0 commit comments

Comments
 (0)