aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2023-11-22 14:26:00 -0500
committerGitHub <noreply@github.com>2023-11-22 14:26:00 -0500
commit2721c529aa91119fc943d5af24ae75889163a75b (patch)
treea60fe9633ca53bea4e6b01d7a57ae2abbadccc62 /pyproject.toml
parentGH-68: Update mslex to v1 (#69) (diff)
downloadtaskipy2-2721c529aa91119fc943d5af24ae75889163a75b.zip
Add release workflow on github release creation (#71)
* Add release workflow on github release creation * Run on 'published' instead of 'created' * Use poetry and tweak publish task
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml7
1 files changed, 2 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 0ce651c..a6ff95a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -45,16 +45,13 @@ lint = { cmd = "./task lint_pylint && ./task lint_mypy", help = "lint project wi
lint_pylint = "pylint tests taskipy"
lint_mypy = "mypy tests taskipy"
-publish = { cmd = "poetry publish --build", help = "publishes taskipy to PyPI as is. do not use directly" }
-post_publish = "./task make_release_commit"
-
make_release_commit = { cmd = "python ./.hooks/make_release_commit.py", help = "creates a tagged commit for the release. do not use directly" }
pre_publish_patch = "./task test"
-publish_patch = { cmd = "poetry version patch && ./task publish", help = "publishes a patch version, that has only fixes but no new features (x.x.PATCH)" }
+publish_patch = { cmd = "poetry version patch && ./task make_release_commit", help = "publishes a patch version, that has only fixes but no new features (x.x.PATCH)" }
pre_publish_minor = "./task test"
-publish_minor = { cmd = "poetry version minor && ./task publish", help = "publishes a minor version, which has new fetures (x.MINOR.x)" }
+publish_minor = { cmd = "poetry version minor && ./task make_release_commit", help = "publishes a minor version, which has new features (x.MINOR.x)" }
[build-system]
requires = ["poetry>=0.12"]