From d8d58acc360c46900e2b2433561349885a7b4c68 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Sun, 18 Jun 2023 14:36:44 -0400 Subject: [PATCH] Making version tagging easier --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1498bbb..a28c204 100644 --- a/Makefile +++ b/Makefile @@ -113,7 +113,19 @@ INSTALL_TARGETS := $(addprefix install-,$(CMDS)) all: debug setup dep format lint test bench build dist -setup: setup-dirs setup-build setup-format setup-lint setup-reports +bump-major: setup-bump + bump major + +bump-minor: setup-bump + bump minor + +bump-patch: setup-bump + bump patch + +setup: setup-dirs setup-build setup-format setup-lint setup-reports setup-bump + +setup-bump: + go install github.com/guilhem/bump@latest setup-reports: setup-dirs go install github.com/tebeka/go2xunit@latest