Compare commits
3 commits
60705c87d7
...
81202c8388
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81202c8388 | ||
|
|
82978c516c | ||
|
|
0f18820f46 |
4 changed files with 13 additions and 34 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
40
justfile
40
justfile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
2
uv.lock
generated
|
|
@ -1153,7 +1153,7 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "teilchensammler-cli"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "ciso8601" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue