Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: release commit message: diff Changes since the last tagged version instead of the last commit #273

Open
cxw42 opened this issue Sep 18, 2019 · 0 comments

Comments

@cxw42
Copy link
Contributor

cxw42 commented Sep 18, 2019

Currently, the commit message for a minil release is git diff Changes:

$msg .= `git diff Changes`;

Would it be possible to diff against the last tagged version, if it exists? E.g., git diff <last tag> -- Changes.

I am using CI more often to test my dists before releasing. I make all my changes, commit, push, and wait for the CI results before running minil release. Therefore, the only diff in the Changes file is {{$NEXT}} and the date.

If the diff were against the last tag, then the commit message would be the changelog of the release. Then, when I made a GitHub release with the tarball, it would fill in the changelog automatically. This would save a step and result in more complete commit messages.

What do you think? Thank you for considering this request!

@cxw42 cxw42 changed the title Request: release commit message diff Changes since the last version Request: release commit message: diff Changes since the last tagged version instead of the last commit Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant