From 2ebf30bec10e98be7676155362392d2a65ad95b8 Mon Sep 17 00:00:00 2001 From: bronsen Date: Sat, 21 Feb 2026 13:28:05 +0100 Subject: [PATCH] just: refine release script I want to make it a fish script though... --- justfile | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/justfile b/justfile index a3b86d1..e85e3e0 100644 --- a/justfile +++ b/justfile @@ -67,14 +67,42 @@ bump segment: [private] release segment: - #!/usr/bin/bash - export tag=$(uv version --short --output-format text --frozen --bump {{ segment }}) + #!/usr/bin/env bash + export body=$(cat changelog.md) + export tag=$(uv version --short --output-format text --bump {{ segment }}) + git add pyproject.toml uv.lock git commit -m "Release version $tag" - git push git tag v$tag + + git push git push origin tag v$tag + uv build --wheel --clear - export body=$(cat changelog.md) - fj release create "v$tag" --tag "v$tag" --attach dist/*.whl --body "$body" + + fj release create "v$tag: $release_name" --tag "v$tag" --attach dist/*.whl --body "$body" uv run twine upload --config-file ~/.config/pypirc --repository code.cbo dist/*.whl + + + + + + + + + + + + + + + + + + + + + + + +#