-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
Allow customizing commit message pattern in prepare-release
command
#996
Conversation
…ve as default value "{0}" before the default was null and had error on some unit test
@dotnet-policy-service agree |
prepare-release
command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it. Just a few changes please. The design change idea (about reducing what {0}
is replaced with) is just an idea. It's at your discretion.
…message pattern to customize all the message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
f62eaec
to
b63cb81
Compare
b63cb81
to
33ef3ef
Compare
@AArnott, do you know when it will be published in the new release? |
I can issue a prerelease to nuget.org if that will suffice for you. |
Yes, please. It will be great. Thanks |
By default, the
prepare-release
command generates a commit message with the format "Set version to {version}". So with this new option, You can add a prefix or suffix to the default commit message (which will replace just the version).For example, running the following command on
master
So your commit message is going to be this:
Note: Must include {0} in the pattern to represent the version.
closes #991