build(Makefile): add local release target
This commit is contained in:
parent
9625bcbf4b
commit
a792bdeb2f
9
Makefile
9
Makefile
@ -18,6 +18,15 @@ clean:
|
||||
rm -rf .stack .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc
|
||||
rm -rf bin/
|
||||
|
||||
.PHONY: release
|
||||
release:
|
||||
./.gitlab-ci/version.pl -changelog CHANGELOG.md
|
||||
git add CHANGELOG.md
|
||||
VERSION=`.gitlab-ci/version.pl`
|
||||
git tag ${VERSION}
|
||||
git commit -m "chore(release): ${VERSION}"
|
||||
git push
|
||||
|
||||
.PHONY: build
|
||||
build: frontend-build backend-build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user