chore: Fix release targets in Makefile.

This commit is contained in:
Martin Wentzel 2022-07-18 14:36:00 +02:00
parent f7c715039e
commit e6844b08cd

View file

@ -124,7 +124,7 @@ release-%:
@${MAKE} website-generation @${MAKE} website-generation
@echo "Review the changes made by this script then execute the following:" @echo "Review the changes made by this script then execute the following:"
@echo @echo
@echo "git add CHANGELOG.md README.md docs/index.md examples/provider/provider-tf12.tf examples/provider/provider-tf13.tf && git commit -m 'Prepare release $*' && git tag -m 'Release $*' ${TAG_PREFIX}$*" @echo "git add CHANGELOG.md README.md docs/index.md examples/provider/provider-tf12.tf examples/provider/provider-tf13.tf && git commit -m 'chore: Prepare release $*' && git tag -m 'Release $*' ${TAG_PREFIX}$*"
@echo @echo
@echo "Finally, push the changes:" @echo "Finally, push the changes:"
@echo @echo
@ -138,9 +138,9 @@ patch:
minor: minor:
@${MAKE} chlog-$(shell (svu minor)) @${MAKE} chlog-$(shell (svu minor))
@${MAKE} replace-occurences-$(shell (svu --strip-prefix minor)) @${MAKE} replace-occurences-$(shell (svu --strip-prefix minor))
@${MAKE} release-$(shell (svu patch)) @${MAKE} release-$(shell (svu minor))
major: major:
@${MAKE} chlog-$(shell (svu major)) @${MAKE} chlog-$(shell (svu major))
@${MAKE} replace-occurences-$(shell (svu --strip-prefix major)) @${MAKE} replace-occurences-$(shell (svu --strip-prefix major))
@${MAKE} release-$(shell (svu patch)) @${MAKE} release-$(shell (svu major))