From d05c578337683b5df536e246c3347d196a6d19a4 Mon Sep 17 00:00:00 2001 From: MylesBartlett Date: Tue, 12 Nov 2024 22:09:31 +0000 Subject: [PATCH] Add bump rules. --- .bumpversion.cfg | 2 +- Makefile | 12 ++++++++++++ pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 59ec0de..dfbd0dd 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.2 +current_version = 0.1.0 commit = True tag = True diff --git a/Makefile b/Makefile index 731d627..b7524df 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,18 @@ clean: ## Clean up caches and build artifacts @rm -rf .venv/ @rm -rf .pytest_cache/ +.PHONY: bump-patch +bump-patch: ## Bump patch version and publish + @. ./scripts/publish.sh patch + +.PHONY: bump-minor +bump-minor: ## Bump minor version and publish + @. ./scripts/publish.sh minor + +.PHONY: bump-major +bump-major: ## Bump major version and publish + @. ./scripts/publish.sh major + .PHONY: help help: ## Display this help screen @echo -e "\033[1mAvailable commands:\033[0m" diff --git a/pyproject.toml b/pyproject.toml index 7cdeb7b..f13a724 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "serox" -version = "0.1.2" +version = "0.1.0" description = "Serpentine Oxidation: Rusty abstractions for Python." keywords = [ "iterators",