From 18c06048e5a77ad5a0a4dfcbcad453ef05f3a05b Mon Sep 17 00:00:00 2001 From: DeadNews Date: Thu, 4 Apr 2024 19:17:43 +0700 Subject: [PATCH] chore(makefile): update `release` command --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ee5a688..ea5e308 100644 --- a/Makefile +++ b/Makefile @@ -30,17 +30,17 @@ test-%: test-vg-%: pushd roles/$* && poetry run molecule test -s $*_vagrant; popd -get-next: +bumped: git cliff --bumped-version # make release-tag_name -# make release-v1.0.0-alpha.0 +# make release-$(git cliff --bumped-version)-alpha.0 release-%: checks git cliff -o CHANGELOG.md --tag $* - pre-commit run --files CHANGELOG.md + pre-commit run --files CHANGELOG.md || pre-commit run --files CHANGELOG.md git add CHANGELOG.md git commit -m "chore(release): prepare for $*" git push git tag -a $* -m "chore(release): $*" - git push --tags + git push origin $* git tag --verify $*