build(Makefile): fix release target [skip ci]

This commit is contained in:
Sarah Vaupel 2025-02-03 18:30:58 +01:00
parent 72920caf4c
commit 4ec521361d

View File

@ -80,10 +80,9 @@ clean-all: clean
.PHONY: release
# HELP: create, commit and push a new release
release:
./.gitlab-ci/version.pl -changelog CHANGELOG.md
git add CHANGELOG.md
VERSION=`.gitlab-ci/version.pl`
git tag $${VERSION}
VERSION=`./utils/version.pl -changelog CHANGELOG.md` ; \
git add CHANGELOG.md ; \
git tag $${VERSION} ; \
git commit -m "chore(release): $${VERSION}"
# git push