From b622595c8e1230c018190dc4656d56cfe81ef813 Mon Sep 17 00:00:00 2001 From: bronsen Date: Sat, 21 Feb 2026 01:23:38 +0100 Subject: [PATCH] just: we has a release thing now! --- changelog.md | 0 justfile | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 changelog.md diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..e69de29 diff --git a/justfile b/justfile index 3d77840..b6725fd 100644 --- a/justfile +++ b/justfile @@ -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