Compare commits
2 commits
6476938f06
...
5f26fbc18f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f26fbc18f | ||
|
|
2ebf30bec1 |
3 changed files with 35 additions and 7 deletions
38
justfile
38
justfile
|
|
@ -67,14 +67,42 @@ bump segment:
|
||||||
|
|
||||||
[private]
|
[private]
|
||||||
release segment:
|
release segment:
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/env bash
|
||||||
export tag=$(uv version --short --output-format text --frozen --bump {{ segment }})
|
export body=$(cat changelog.md)
|
||||||
|
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 push
|
|
||||||
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
|
uv build --wheel --clear
|
||||||
export body=$(cat changelog.md)
|
|
||||||
fj release create "v$tag" --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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "teilchensammler-cli"
|
name = "teilchensammler-cli"
|
||||||
version = "0.4.4"
|
version = "0.4.5"
|
||||||
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
2
uv.lock
generated
|
|
@ -1153,7 +1153,7 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "teilchensammler-cli"
|
name = "teilchensammler-cli"
|
||||||
version = "0.4.4"
|
version = "0.4.5"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "ciso8601" },
|
{ name = "ciso8601" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue