just: we should stage the new version info and push changes

This commit is contained in:
bronsen 2026-02-21 01:29:01 +01:00
parent b622595c8e
commit 1290232d31

View file

@ -69,9 +69,12 @@ bump segment:
release segment: release segment:
#!/usr/bin/bash #!/usr/bin/bash
export tag=$(uv version --short --output-format text --frozen --bump {{ segment }}) export tag=$(uv version --short --output-format text --frozen --bump {{ segment }})
export body=$(cat changelog.md) git add pyproject.toml uv.lock
git commit -m "Release version $tag"
git push
git tag v$tag git tag v$tag
uv build --wheel --clear
git push origin tag v$tag git push origin tag v$tag
fj release create "$tag" --draft --tag $tag --attach dist/*.whl --body "$body" uv build --wheel --clear
export body=$(cat changelog.md)
fj release create "v$tag" --draft --tag v$tag --attach dist/*.whl --body "$body"
uv run twine upload --config-file ~/.config/pypirc --repository code.cbo dist/*.whl uv run twine upload --config-file ~/.config/pypirc --repository code.cbo dist/*.whl