Skip to content

Commit

Permalink
exclude bump pr from release notes (#90)
Browse files Browse the repository at this point in the history
* preview release diff in terminal

* wip

* update release cmd

* adjust diff out
  • Loading branch information
achristmascarl authored Sep 18, 2024
1 parent 2cf48e3 commit a45c12d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
changelog:
exclude:
labels:
- no-release-notes
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ release:
git add Cargo.lock
git commit -m "bump to v$(version)"
git push
gh pr create --fill
gh pr create --fill --label no-release-notes
gh pr diff | cat
@read -n 1 -p "are you sure you want to release v$(version)? [Y/n] " confirmation && if [ "$$confirmation" = "Y" ]; then echo " continuing..."; else echo " aborting..."; exit 1; fi
gh pr merge --admin --squash --delete-branch
git checkout main
Expand Down

0 comments on commit a45c12d

Please sign in to comment.