aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Sommer <roy@sommer.co.il>2020-01-23 21:20:09 +0200
committerRoy Sommer <roy@sommer.co.il>2020-01-23 21:20:09 +0200
commitc3c2b493044bcb6fb439172d3c0a90a5f36f72f4 (patch)
treeeef518d161c530edb7dc16f75d8f850dfd63a4ff
parentnow automatically adding release tag whenever released (diff)
downloadtaskipy2-c3c2b493044bcb6fb439172d3c0a90a5f36f72f4.zip
now automatically adding release tag whenever released
-rw-r--r--hooks/make_release_commit.py (renamed from hooks/tag_release.py)0
-rw-r--r--pyproject.toml8
2 files changed, 4 insertions, 4 deletions
diff --git a/hooks/tag_release.py b/hooks/make_release_commit.py
index 34caea6..34caea6 100644
--- a/hooks/tag_release.py
+++ b/hooks/make_release_commit.py
diff --git a/pyproject.toml b/pyproject.toml
index 7d2f679..b733244 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,16 +36,16 @@ lint = "./task lint_pylint && ./task lint_mypy"
lint_pylint = "pylint tests taskipy"
lint_mypy = "mypy tests taskipy"
-pre_publish = "./task test"
publish = "poetry publish --build"
+post_publish = "./task make_release_commit"
-commit_release = "python ./hooks/tag_release.py"
+make_release_commit = "python ./hooks/make_release_commit.py"
pre_publish_patch = "./task test"
-publish_patch = "poetry version patch && commit_release && poetry publish --build"
+publish_patch = "poetry version patch && ./task publish"
pre_publish_minor = "./task test"
-publish_minor = "poetry version minor && commit_release && poetry publish --build"
+publish_minor = "poetry version minor && ./task publish"
[build-system]
requires = ["poetry>=0.12"]