aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorRoy Sommer <roy@sommer.co.il>2020-01-23 21:19:53 +0200
committerRoy Sommer <roy@sommer.co.il>2020-01-23 21:19:53 +0200
commit218a33d8b2929aeb58d4d1e260f022c09fc5763c (patch)
tree57d8890a84f0370248da4a78ccce882e3ec160d3 /pyproject.toml
parentbumped patch version (diff)
downloadtaskipy2-218a33d8b2929aeb58d4d1e260f022c09fc5763c.zip
now automatically adding release tag whenever released
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"]