From d3e83c48d39291ac3e45e2fbd71ac61bb7966062 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 1 Aug 2021 00:16:05 +0300 Subject: [PATCH] Manage versions with bumpversion. --- .bumpversion.cfg | 8 ++++++++ pyproject.toml | 1 + 2 files changed, 9 insertions(+) create mode 100644 .bumpversion.cfg diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..9537a8f --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,8 @@ +[bumpversion] +current_version = 0.1.0-dev +commit = True +tag = True + +[bumpversion:file:pyproject.toml] + +[bumpversion:file:mnpw/__init__.py] diff --git a/pyproject.toml b/pyproject.toml index 9cbf63b..d92ece8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,7 @@ requests = "^2.25.1" pre-commit = "^2.13.0" pyinstaller = "^4.3" pytest = "^6.2.4" +bump2version = "^1.0.1" [tool.poetry.scripts] mnpw = "mnpw:main" -- GitLab