diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aef3285..45342e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI on: - push: - branches: [master, main] + release: + types: [released] jobs: build-n-publish: @@ -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 }} \ No newline at end of file diff --git a/setup.py b/setup.py index 49c18ed..2bfce79 100644 --- a/setup.py +++ b/setup.py @@ -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',