Skip to content

Commit 2f4c4b5

Browse files
bump version
1 parent 6d98306 commit 2f4c4b5

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

Taskfile.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,19 @@ tasks:
5656
# https://docs.astral.sh/uv/guides/package/#updating-your-version
5757
bump-version:
5858
desc: Bump Python package minor version
59-
prompt: Bump Python package version?
59+
preconditions:
60+
- sh: git diff-index --quiet HEAD --
61+
msg: "ERROR: Uncommitted files found."
62+
vars:
63+
CURRENT:
64+
sh: uv version --short
65+
NEXT:
66+
sh: uv version --bump minor --dry-run --short
67+
prompt: Bump Python package version from {{.CURRENT}} to {{.NEXT}}?
6068
cmds:
6169
- uv version --bump minor
70+
- git add pyproject.toml uv.lock
71+
- git commit -m "bump version"
6272

6373
release:
6474
desc: Create a release

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "tasktronaut"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "A simple task orchestration library for running complex processes or workflows in Python."
55
readme = "README.md"
66
requires-python = ">=3.10"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)