Skip to content

Commit

Permalink
Merge pull request #12 from dynamist/feature/makefile
Browse files Browse the repository at this point in the history
Add Makefile for bumpversion
  • Loading branch information
holmboe authored Oct 31, 2019
2 parents 1f2b058 + 57e2b4c commit fe80cfb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.PHONY: help

# http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

major: ## bump major version (1.x -> 2.x)
bumpversion major

minor: ## bump minor version (1.1 -> 1.2)
bumpversion minor

patch: ## bump patch version (1.1.0 -> 1.1.1)
bumpversion patch

0 comments on commit fe80cfb

Please sign in to comment.