From 635e9e83e818c93f2e905034e79135a63470e229 Mon Sep 17 00:00:00 2001 From: Ryu18 Date: Wed, 10 Nov 2021 17:09:16 +0100 Subject: [PATCH] using bumpver --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d869a5f..be5e3d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,3 +21,17 @@ pytest = "^6.2.5" requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" + +[tool.bumpver] +current_version = "2021.11.10.1" +version_pattern = "YYYY.MM.DD.PATCH[-TAG]" +commit_message = "bump version {old_version} -> {new_version}" +commit = true +tag = true +push = true + +[tool.bumpver.file_patterns] +"pyproject.toml" = [ + 'current_version = "{version}"', +] +