aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml
index d2e0298..7d2f679 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,13 +39,13 @@ lint_mypy = "mypy tests taskipy"
pre_publish = "./task test"
publish = "poetry publish --build"
+commit_release = "python ./hooks/tag_release.py"
+
pre_publish_patch = "./task test"
-bump_patch_version = "poetry version patch && git add . && git commit -m 'bumped patch version' && git push"
-publish_patch = "./task bump_patch_version && poetry publish --build"
+publish_patch = "poetry version patch && commit_release && poetry publish --build"
pre_publish_minor = "./task test"
-bump_minor_version = "poetry version minor && git add . && git commit -m 'bumped minor version' && git push"
-publish_minor = "./task bump_minor_version && poetry publish --build"
+publish_minor = "poetry version minor && commit_release && poetry publish --build"
[build-system]
requires = ["poetry>=0.12"]