From 5b04ba9840f65b4e86ee182ef9d5abb6706b6942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleksis=20Fraga=20Men=C3=A9ndez?= Date: Tue, 28 Nov 2023 20:23:16 -0500 Subject: [PATCH 1/2] Add bumpver to dev dependencies Add `bumpver` SemVer configuration --- pyproject.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index dce6e1d..655ad1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ textual-dev = "^1.1" mypy = "^1.1.1" pylint = "^2.17.1" pre-commit = "^3.2.1" +bumpver = "^2023.1129" [build-system] requires = ["poetry-core"] @@ -46,3 +47,15 @@ build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] frogmouth = "frogmouth.app.app:run" + +[tool.bumpver] +current_version = "0.9.2" +version_pattern = "MAJOR.MINOR.PATCH" +commit_message = "bump version {old_version} -> {new_version}" +commit = true +tag = true +push = false + +[tool.bumpver.file_patterns] +"pyproject.toml" = ['current_version = "{version}"', 'version = "{version}"'] +"frogmouth/__init__.py" = ['^__version__ = "{version}"$'] From 26daa08648d301a0e18ed1f8784a53b1e9afcfdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleksis=20Fraga=20Men=C3=A9ndez?= Date: Tue, 28 Nov 2023 20:25:42 -0500 Subject: [PATCH 2/2] bump version 0.9.2 -> 0.9.3 --- frogmouth/__init__.py | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frogmouth/__init__.py b/frogmouth/__init__.py index 64b9d7b..9fda902 100644 --- a/frogmouth/__init__.py +++ b/frogmouth/__init__.py @@ -5,5 +5,5 @@ __credits__ = ["Dave Pearson"] __maintainer__ = "Dave Pearson" __email__ = "dave@textualize.io" -__version__ = "0.9.1" +__version__ = "0.9.3" __licence__ = "MIT" diff --git a/pyproject.toml b/pyproject.toml index 655ad1e..8da8fb9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "frogmouth" homepage = "https://github.com/Textualize/frogmouth" -version = "0.9.2" +version = "0.9.3" description = "A Markdown document viewer for the terminal" authors = ["Dave Pearson "] license = "MIT" @@ -49,7 +49,7 @@ build-backend = "poetry.core.masonry.api" frogmouth = "frogmouth.app.app:run" [tool.bumpver] -current_version = "0.9.2" +current_version = "0.9.3" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump version {old_version} -> {new_version}" commit = true