Skip to content

Commit

Permalink
chore(makefile): update release command
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadNews committed Apr 4, 2024
1 parent c5b7382 commit 18c0604
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $*

0 comments on commit 18c0604

Please sign in to comment.