You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so after taking a look at the codebase, found that when --dry-run is enabled, scripts are not executed. Makes sense.
So I tried running without --dry-run and found the problem. I used npm pkg get version command in prebump script. This returned value in double quotes, For example, '"1.0.0"' and when this value is passed in semver.valid method Here, it returned null. PR #186 fixes this.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
In the prebump lifecycle script , it is mentioned that if a version is returned from script, that version will be used.
Current behavior
version returned from prebump lifecycle script is not being used.
Expected behavior
version returned from prebump lifecycle script should be used.
Environment
commit-and-tag-version
version(s): v12.4.3Additional context

The text was updated successfully, but these errors were encountered: