Compare commits

..

No commits in common. "81202c8388c96d4239ce01e8c5455980c0170c2a" and "60705c87d7741e9330a4d8fe554323f7c474165f" have entirely different histories.

4 changed files with 34 additions and 13 deletions

3
.gitignore vendored
View file

@ -1,6 +1,3 @@
# we create this for the release message
releasenotes.md
# Created by https://www.toptal.com/developers/gitignore/api/python,vim # Created by https://www.toptal.com/developers/gitignore/api/python,vim
# Edit at https://www.toptal.com/developers/gitignore?templates=python,vim # Edit at https://www.toptal.com/developers/gitignore?templates=python,vim

View file

@ -66,19 +66,43 @@ bump segment:
uv version --bump {{ segment }} uv version --bump {{ segment }}
[private] [private]
release segment *release_name: release segment:
#!/usr/bin/env fish #!/usr/bin/env bash
test -f releasenotes.md; and set -l body "$(cat releasenotes.md)"; or set -l body "" export body=$(cat changelog.md)
set -l tag (uv version --short --output-format text --bump {{ segment }}) export tag=$(uv version --short --output-format text --bump {{ segment }})
git add pyproject.toml uv.lock git add pyproject.toml uv.lock
git commit -m "Release version $tag" git commit -m "Release version $tag"
git tag "v$tag" git tag v$tag
git push git push
git push origin tag "v$tag" git push origin tag v$tag
uv build --wheel --clear uv build --wheel --clear
fj release create "v$tag: $release_name" --pre-release --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 uv run twine upload --config-file ~/.config/pypirc --repository code.cbo dist/*.whl
#

View file

@ -1,6 +1,6 @@
[project] [project]
name = "teilchensammler-cli" name = "teilchensammler-cli"
version = "0.4.7" version = "0.4.6"
description = "Build up and maintain an inventory of electronics parts and tools." description = "Build up and maintain an inventory of electronics parts and tools."
readme = "README.md" readme = "README.md"
requires-python = ">=3.14,<4.0" requires-python = ">=3.14,<4.0"

2
uv.lock generated
View file

@ -1153,7 +1153,7 @@ wheels = [
[[package]] [[package]]
name = "teilchensammler-cli" name = "teilchensammler-cli"
version = "0.4.7" version = "0.4.6"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "ciso8601" }, { name = "ciso8601" },