build(Makefile): add local release target

This commit is contained in:
Sarah Vaupel 2024-09-05 00:54:20 +02:00
parent 9625bcbf4b
commit a792bdeb2f

View File

@ -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