chore: add make release target (#130)

Signed-off-by: Derek Smith <derek@clokwork.net>
This commit is contained in:
Derek Smith 2021-03-30 12:53:27 -05:00 committed by GitHub
parent 2f5b47b0f7
commit b02996e027
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 3 deletions

View file

@ -28,3 +28,10 @@ changelog: build
.PHONY: lint
lint:
@golangci-lint run
.PHONY: release
release: changelog
@git add CHANGELOG.md
@git commit -m "chore: update changelog for $(VERSION)"
git tag $(VERSION)
git push origin master $(VERSION)