-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
nx release
output wrong prerelease tag & versions both package.json
#23235
Comments
any update @JamesHenry @FrozenPandaz ? |
@AgentEnder any updates? |
how may I help you to solve this issue @JamesHenry @AgentEnder @FrozenPandaz |
Would be good to get some love on this, because I'm facing a similar issue using the custom script to release. Overall I do feel prereleases weren't really accounted for when building this. Any plans on increasing the documentation and support for prerelease? Specifying "preid" in the releaseVersion function compltetly ignores it when using conventional-commits as a |
This is on my list for tomorrow, I will review the provided information and revert with any clarifying questions |
This is addressed by #26524 |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
In mono repo configuration, independent mode, everything is perfectly fine when I run
nx release version
. However, whenever I try to create aprerelease
with the flags of--specifier=prerelease --preid="rc"
versioning goes so wrong.nx release version --preid="rc"
: it does not assign--specifier
asprerelease
. I have to assign it manually.package.json
fileprerelease
commit has BREAKING CHANGE or ! in a commit, it discards the breaking change part.Commit Message: fix!: try prerelease
nx release version --first-release
preid
work on itself(for the first problem mentioned) run,nx release version --preid="rc"
nx release version --preid="rc" --specifier=prerelease
nx release version --preid="rc" --specifier=prerelease
Nx Report
Failure Logs
No response
Package Manager Version
pnpm --version 9.0.4
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: