Skip to content

Commit

Permalink
Merge pull request #113 from bookernath/cd-action
Browse files Browse the repository at this point in the history
Change CD GH action to be trigged on release instead of push, and bump version/release
  • Loading branch information
bookernath authored Mar 31, 2023
2 parents 361c936 + 700516a commit 9901f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

on:
push:
branches: [master, main]
release:
types: [released]

jobs:
build-n-publish:
Expand All @@ -28,7 +28,6 @@ jobs:
--wheel
--outdir dist/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


VERSION = '0.23.1'
VERSION = '0.23.2'

setup(
name='bigcommerce',
Expand Down

0 comments on commit 9901f0c

Please sign in to comment.