-
Notifications
You must be signed in to change notification settings - Fork 797
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
Make new version available to postBump scripts #283
Comments
I would like this functionality as well. Surprised it is not supported yet. |
I would like to add that the |
What's interesting is this https://github.com/conventional-changelog/standard-version/blob/master/lib/run-lifecycle-hook.js passes |
Is there any way to get newly calculated version from postbump script? Because |
@eraytufan you might want to look at #372 instead. This is probably the path that we'll end up with for custom versioning. |
I stumbled across standard-version and think it's a great project. The support for bumping versions seems limited to those package formats that use json. I'd like to be able to use this cli tool for packages other than node/bower/composer. I think a low barrier to entry would be to use the postBump script and make the new version available to the script either as an argument or environment variable.
My postBump script could read package/bower/manifest.json etc to get the newly bumped version number, but that assumes my project has one of those files. I'd rather not have to add one just for the purposes of using this tool for managing versions of say a .net nuget package.
The text was updated successfully, but these errors were encountered: