Skip to content

Commit

Permalink
Add bump rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesBartlett committed Nov 12, 2024
1 parent c2f9971 commit d05c578
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.2
current_version = 0.1.0
commit = True
tag = True

Expand Down
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "serox"
version = "0.1.2"
version = "0.1.0"
description = "Serpentine Oxidation: Rusty abstractions for Python."
keywords = [
"iterators",
Expand Down

0 comments on commit d05c578

Please sign in to comment.