This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for version bump, thanks to alan | |
VERSION := $(shell git describe --tags --abbrev=0 | sed -Ee 's/^v|-.*//') | |
.PHONY: version | |
version: | |
@echo v$(VERSION) | |
SEMVER_TYPES := major minor patch | |
BUMP_TARGETS := $(addprefix bump-,$(SEMVER_TYPES)) | |
.PHONY: $(BUMP_TARGETS) |