-
Notifications
You must be signed in to change notification settings - Fork 29
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
Accept default commit messages from npm version
and yarn version
#6
Comments
I think that would make sense, yes. Do you want to provide a PR? 😇 |
But "npm version patch" commits without the v prefix like "0.0.1" |
I think the below expression may be helpful: ^v?(\d+\.\d+\.\d+(?:-(?:alpha|beta)\.\d+)?)$ Features:
Non matches: You can find *unit* tests for it at https://regexr.com/589ii @pascalgn Do you want me to make a PR for this Regex? If yes, do you want me to add unit tests with mocha/chai? |
Yes, feel free to create a PR! Adding a unit test should be fine, too! |
I use the default worflow of yarn for making a new release:
yarn version --new-version patch
This makes a commit with message like
v0.0.1
Currently I have to update the commit message to say
Release v0.0.1
or change the configuration of this action.Although very minor, it would be nice for that to simply work.
The text was updated successfully, but these errors were encountered: