diff --git a/justfile b/justfile index e85e3e0..a3b86d1 100644 --- a/justfile +++ b/justfile @@ -67,42 +67,14 @@ bump segment: [private] release segment: - #!/usr/bin/env bash - export body=$(cat changelog.md) - export tag=$(uv version --short --output-format text --bump {{ segment }}) - + #!/usr/bin/bash + export tag=$(uv version --short --output-format text --frozen --bump {{ segment }}) git add pyproject.toml uv.lock git commit -m "Release version $tag" - git tag v$tag - git push + git 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" + export body=$(cat changelog.md) + fj release create "v$tag" --tag "v$tag" --attach dist/*.whl --body "$body" uv run twine upload --config-file ~/.config/pypirc --repository code.cbo dist/*.whl - - - - - - - - - - - - - - - - - - - - - - - -# diff --git a/pyproject.toml b/pyproject.toml index a29df06..ba5a047 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "teilchensammler-cli" -version = "0.4.5" +version = "0.4.4" 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 8476c8d..e5309b6 100644 --- a/uv.lock +++ b/uv.lock @@ -1153,7 +1153,7 @@ wheels = [ [[package]] name = "teilchensammler-cli" -version = "0.4.5" +version = "0.4.4" source = { editable = "." } dependencies = [ { name = "ciso8601" },