diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7be9e8..47bd02a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: push: tags: - - '*' + - "*" jobs: build: @@ -17,20 +17,22 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: "3.11" - name: Install dependencies run: | python -m pip install -U pip python -m pip install -U setuptools twine wheel + - name: Build package run: | python setup.py --version python setup.py sdist --format=gztar bdist_wheel twine check dist/* + - name: Upload packages to Jazzband if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.12.3 + uses: pypa/gh-action-pypi-publish@release/v1 with: user: jazzband password: ${{ secrets.JAZZBAND_RELEASE_KEY }} diff --git a/README.md b/README.md index e342f22..e4ad163 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,12 @@ by enabling a cached backend. See [Advanced Usage](#advanced-usage) ## Changelog +## 4.0.3 (not released) + ## 4.0.2 (not released) +- Upgrade pypa/gh-action-pypi-publish as an attempt to fix publication of releases to pypi. + ## 4.0.1 (2025-01-07) Same as 4.0.0 with a fix on setup.py version diff --git a/setup.py b/setup.py index 5c2d428..f4487b1 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def readfile(filename): setup( name="django-fsm-log", - version="4.0.1", + version="4.0.2", description="Transition's persistence for django-fsm", long_description=readfile("README.md"), long_description_content_type="text/markdown",