From 0f18820f460a24a126f6f1a6687ff003b99ed474 Mon Sep 17 00:00:00 2001 From: bronsen Date: Sun, 22 Feb 2026 11:14:09 +0100 Subject: [PATCH 1/3] git: keep releasenotes.md off of version control It is a transient file --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 7e46452..d539b7d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# we create this for the release message +releasenotes.md + # Created by https://www.toptal.com/developers/gitignore/api/python,vim # Edit at https://www.toptal.com/developers/gitignore?templates=python,vim From 82978c516cc824ba5d895a121bce2e02bcce0b47 Mon Sep 17 00:00:00 2001 From: bronsen Date: Sun, 22 Feb 2026 11:15:25 +0100 Subject: [PATCH 2/3] just: rewrite release recipe in fish closes #13 --- justfile | 40 ++++++++-------------------------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/justfile b/justfile index e85e3e0..af95755 100644 --- a/justfile +++ b/justfile @@ -66,43 +66,19 @@ bump segment: uv version --bump {{ segment }} [private] -release segment: - #!/usr/bin/env bash - export body=$(cat changelog.md) - export tag=$(uv version --short --output-format text --bump {{ segment }}) +release segment *release_name: + #!/usr/bin/env fish + test -f releasenotes.md; and set -l body "$(cat releasenotes.md)"; or set -l body "" + set -l tag (uv version --short --output-format text --bump {{ segment }}) git add pyproject.toml uv.lock git commit -m "Release version $tag" - git tag v$tag + git tag "v$tag" git push - git push origin tag v$tag + git push origin tag "v$tag" uv build --wheel --clear - 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 - - - - - - - - - - - - - - - - - - - - - - - -# + fj release create "v$tag: $release_name" --pre-release --tag "v$tag" --attach dist/*.whl --body "$body" + # uv run twine upload --config-file ~/.config/pypirc --repository code.cbo dist/*.whl From 81202c8388c96d4239ce01e8c5455980c0170c2a Mon Sep 17 00:00:00 2001 From: bronsen Date: Sun, 22 Feb 2026 11:16:07 +0100 Subject: [PATCH 3/3] Release version 0.4.7 --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 83271a8..27f4e4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "teilchensammler-cli" -version = "0.4.6" +version = "0.4.7" 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 a2f0f36..d0e0fb4 100644 --- a/uv.lock +++ b/uv.lock @@ -1153,7 +1153,7 @@ wheels = [ [[package]] name = "teilchensammler-cli" -version = "0.4.6" +version = "0.4.7" source = { editable = "." } dependencies = [ { name = "ciso8601" },