Compare commits

..

3 commits

Author SHA1 Message Date
bronsen
81202c8388 Release version 0.4.7
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
ci/woodpecker/tag/workflow Pipeline failed
2026-02-22 11:16:07 +01:00
bronsen
82978c516c just: rewrite release recipe in fish
closes #13
2026-02-22 11:15:25 +01:00
bronsen
0f18820f46 git: keep releasenotes.md off of version control
It is a transient file
2026-02-22 11:14:09 +01:00
4 changed files with 13 additions and 34 deletions

3
.gitignore vendored
View file

@ -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

View file

@ -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

View file

@ -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"

2
uv.lock generated
View file

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