Skip to content

Commit

Permalink
Merge pull request #213 from ticosax/new-tag
Browse files Browse the repository at this point in the history
Get a different version of pypa/gh-action-pypi-publish.
  • Loading branch information
ticosax authored Jan 8, 2025
2 parents d69b60e + 72e0846 commit cd0fd5f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release
on:
push:
tags:
- '*'
- "*"

jobs:
build:
Expand All @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cd0fd5f

Please sign in to comment.