ci(release): publish the sdist and wheel with each release

This commit is contained in:
beefcarver committed 2026-11-14 17:05:22 -05:00
1 parent ba41a426cc
commit a597aef8cd
1 file changed
+13 -1
+13 -1
View File
@@ -33,6 +33,19 @@ jobs:
) )
PY PY
- name: Setup uv
uses: astral-sh/[email protected]
# No `submodules:` on the checkout above, so the tap is empty here and the
# sdist below differs from a local `uv build` with the submodule populated.
# The published asset is therefore the authority: tools/bump_packaging.py
# hashes the download, never a rebuild.
- name: Build the sdist and wheel
run: |
uv build --out-dir dist/release
# PKGBUILD and the tap formula name this exact file.
test -f "dist/release/beefy_player-${FORGEJO_REF_NAME#v}.tar.gz"
- name: Generate release notes - name: Generate release notes
run: | run: |
previous="$(git describe --tags --abbrev=0 "${FORGEJO_REF_NAME}^" 2>/dev/null || true)" previous="$(git describe --tags --abbrev=0 "${FORGEJO_REF_NAME}^" 2>/dev/null || true)"
@@ -51,7 +64,6 @@ jobs:
uses: actions/forgejo-release@v2 uses: actions/forgejo-release@v2
with: with:
direction: upload direction: upload
skip-assets: true
tag: ${{ forgejo.ref_name }} tag: ${{ forgejo.ref_name }}
title: ${{ forgejo.ref_name }} title: ${{ forgejo.ref_name }}
release-notes-file: dist/notes.md release-notes-file: dist/notes.md