just: we has a release thing now!
All checks were successful
ci/woodpecker/tag/workflow Pipeline was successful

This commit is contained in:
bronsen 2026-02-21 01:23:38 +01:00
parent 623dda64b7
commit b622595c8e
2 changed files with 11 additions and 0 deletions

0
changelog.md Normal file
View file

View file

@ -64,3 +64,14 @@ ci: lint
[private]
bump segment:
uv version --bump {{ segment }}
[private]
release segment:
#!/usr/bin/bash
export tag=$(uv version --short --output-format text --frozen --bump {{ segment }})
export body=$(cat changelog.md)
git tag v$tag
uv build --wheel --clear
git push origin tag v$tag
fj release create "$tag" --draft --tag $tag --attach dist/*.whl --body "$body"
uv run twine upload --config-file ~/.config/pypirc --repository code.cbo dist/*.whl