Skip to content

Commit

Permalink
add release make targets
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Mar 15, 2024
1 parent 1f25373 commit f9c1a85
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,15 @@ lint: --ensure-tools ## run linters
.PHONY: fix
fix: --ensure-tools ## fix issues found by linters
golangci-lint run --fix ./...

delete-tag: ## deletes a tag from git locally and upstream
@read -p "Version: " tag; \
git tag -d $$tag; \
git push origin :$$tag

release-vsn: # tags and pushes a new release
@read -p "Version: " tag; \
git checkout master; \
git pull --rebase; \
git tag -a $$tag -m "new release"; \
git push origin $$tag

0 comments on commit f9c1a85

Please sign in to comment.