Skip to content

Commit ddf80c7

Browse files
committed
Second fix for release workflow
1 parent 44f55f8 commit ddf80c7

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@ jobs:
2525
with:
2626
version: "latest"
2727

28-
- name: Build and publish package
29-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
28+
- name: Install twine
29+
run: |
30+
uv pip install twine
31+
32+
- name: Build package
3033
run: |
3134
uv build
32-
uv publish --username jazzband --password ${{ secrets.JAZZBAND_RELEASE_KEY }} --repository-url https://jazzband.co/projects/django-user-sessions/upload
35+
36+
- name: Upload packages to Jazzband
37+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
38+
run: |
39+
uv run twine upload --username jazzband --password ${{ secrets.JAZZBAND_RELEASE_KEY }} --repository-url https://jazzband.co/projects/django-user-sessions/upload dist/*

docs/release-notes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Release Notes
22
=============
33

4+
3.0.2
5+
----------
6+
* Second fix for release workflow.
7+
48
3.0.1
59
----------
610
* Fix for release workflow with pyproject.toml and uv.

0 commit comments

Comments
 (0)