Skip to content

Commit

Permalink
build: Cleanup the version when tagging a release in the Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Mar 1, 2024
1 parent 95ae2e7 commit 088f2f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -404,12 +404,12 @@ changelog:
tag:
@ if [ $$(git status -s -uall | wc -l) != 1 ]; then echo 'ERROR: Git workspace must be clean.'; exit 1; fi;

@ $(ECHO) "This release will be tagged as: v$(NEXT_VERSION)"
@ $(ECHO) "This release will be tagged as: $(NEXT_VERSION)"
@ $(ECHO) "---------------------------------------------------------------------"
@ read -p "Press any key to continue, or press Control+C to cancel. " x;

@ $(ECHO) " "
@ chag update v$(NEXT_VERSION)
@ chag update $(NEXT_VERSION)
@ $(ECHO) " "

@ $(ECHO) "These are the contents of the CHANGELOG for this release. Are these correct?"
Expand All @@ -422,5 +422,5 @@ tag:
@ $(ECHO) " "

git add .
git commit -a -m "relprep: Preparing the v$(NEXT_VERSION) release." --no-verify
git commit -a -m "relprep: Preparing the $(NEXT_VERSION) release." --no-verify
chag tag --sign

0 comments on commit 088f2f7

Please sign in to comment.