diff --git a/justfile b/justfile index b6725fd..b525135 100644 --- a/justfile +++ b/justfile @@ -69,9 +69,12 @@ bump segment: release segment: #!/usr/bin/bash 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 - uv build --wheel --clear 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