From c3c2b493044bcb6fb439172d3c0a90a5f36f72f4 Mon Sep 17 00:00:00 2001 From: Roy Sommer Date: Thu, 23 Jan 2020 21:20:09 +0200 Subject: now automatically adding release tag whenever released --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pyproject.toml') 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"] -- cgit v1.2.3