Skip to content

Commit c0b6b9a

Browse files
committed
Pypi Trusted Publisher
1 parent 8fe054f commit c0b6b9a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
build:
99
if: github.repository == 'jazzband/django-fsm-log'
1010
runs-on: ubuntu-latest
11+
environment: pypi
12+
permissions:
13+
id-token: write
1114

1215
steps:
1316
- uses: actions/checkout@v6
@@ -29,12 +32,6 @@ jobs:
2932
uv build
3033
uvx twine check dist/*
3134
32-
- name: Upload packages to Jazzband
35+
- name: Upload packages to Pypi
3336
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
3437
uses: pypa/gh-action-pypi-publish@release/v1
35-
with:
36-
user: jazzband
37-
password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
38-
attestations: false
39-
repository-url: https://jazzband.co/projects/django-fsm-log/upload
40-
verbose: true

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ by enabling a cached backend. See [Advanced Usage](#advanced-usage)
1414

1515
## Changelog
1616

17-
## 5.0.1 ( 2026-01-27 )
17+
## 5.0.2 ( 2026-01-27 )
18+
19+
- Try to publish straight to pypi thanks to oicd trusted publishing process
20+
21+
## 5.0.1 ( :x: )
1822

1923
- switch from setuptools to hatchling
2024

0 commit comments

Comments
 (0)