- Notifications
You must be signed in to change notification settings - Fork2.3k
feat(publish): replace +{SHA} with .{SHA} in lerna publish --canary#4124
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
nx-cloudbot commentedFeb 19, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
View yourCI Pipeline Execution ↗ for commit64ae261.
☁️Nx Cloud last updated this comment at |
JamesHenry commentedSep 15, 2025
I'm really sorry for the delay on a formal resolution here@MatusKnizka. This is not a PR we can proceed with directly because it's mixing a couple of different concerns IMO and is a breaking change which would required wider clean up. The Importantly, it is just metadata andnot used to differentiate versions during installs and dependency resolution:
Therefore, it does make sense that jfrog is "cutting it" as you describe. Please can you share more about your use-case? Are you trying to publish over the same version with different build metadata? Are you saying that lerna is not incrementing the |
JamesHenry left a comment
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.
See comment
Uh oh!
There was an error while loading.Please reload this page.
Replace +{SHA} with .{SHA} in lerna publish --canary
Description
Instead of using plus (+) sign in package name provided by --canary flag, use dot.
Motivation and Context
It's not possible to publish --canary version into jfrog artifactory, as jfrog is cutting part of filename, due to + (plus) character. So, instead of using +, I would suggest to use dot.
#2060
How Has This Been Tested?
Unit tests
Integration tests
Run publish command
Types of changes
Checklist: