diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..e69de29 diff --git a/justfile b/justfile index 3d77840..b525135 100644 --- a/justfile +++ b/justfile @@ -64,3 +64,17 @@ 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 }}) + git add pyproject.toml uv.lock + git commit -m "Release version $tag" + git push + git tag v$tag + git push origin tag v$tag + 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 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" },