From b622595c8e1230c018190dc4656d56cfe81ef813 Mon Sep 17 00:00:00 2001 From: bronsen Date: Sat, 21 Feb 2026 01:23:38 +0100 Subject: [PATCH 1/3] 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 From 1290232d31febe388c8dadc6c8fc61b49bf30498 Mon Sep 17 00:00:00 2001 From: bronsen Date: Sat, 21 Feb 2026 01:29:01 +0100 Subject: [PATCH 2/3] just: we should stage the new version info and push changes --- justfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 From fcd5e712090cdcd8e5a4695ce3e3ba3c8b252b47 Mon Sep 17 00:00:00 2001 From: bronsen Date: Sat, 21 Feb 2026 01:29:53 +0100 Subject: [PATCH 3/3] Release version 0.4.1 --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c0b2f35..cc8c09d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "teilchensammler-cli" -version = "0.3.3" +version = "0.4.1" description = "Build up and maintain an inventory of electronics parts and tools." readme = "README.md" requires-python = ">=3.14,<4.0" diff --git a/uv.lock b/uv.lock index 9ece310..d23eede 100644 --- a/uv.lock +++ b/uv.lock @@ -1153,7 +1153,7 @@ wheels = [ [[package]] name = "teilchensammler-cli" -version = "0.3.3" +version = "0.4.0" source = { editable = "." } dependencies = [ { name = "ciso8601" },