Add make git-release
Add command which makes an automated release from the VERSION file. Commits and tags everything not staged in the repo.
This commit is contained in:
1
Makefile
1
Makefile
@@ -9,6 +9,7 @@ include .gitlab/make/docker.makefile
|
||||
include .gitlab/make/helm.makefile
|
||||
include .gitlab/make/kaniko.makefile
|
||||
include .gitlab/make/truenas.makefile
|
||||
include .gitlab/make/git.makefile
|
||||
|
||||
.PHONY: warning
|
||||
warning:
|
||||
|
||||
5
make/git.makefile
Normal file
5
make/git.makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
.PHONY: git-release
|
||||
git-release:
|
||||
@git add .
|
||||
@git commit -m "Automated release for version $(VERSION)"
|
||||
@git tag $(VERSION)
|
||||
Reference in New Issue
Block a user