just: we should stage the new version info and push changes
This commit is contained in:
parent
b622595c8e
commit
1290232d31
1 changed files with 6 additions and 3 deletions
9
justfile
9
justfile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue