-
I was wondering what lerna recipe achieve my requirement below. I have two branches For versioning and publishing two branches, I haven't find any other versioning scheme to be more readable than this. (I had another thought that maybe, for example, while my main is at 3.5.0, my dev becomes 3.5.1-beta, 3.5.2-beta, 3.5.3-beta but that implies that the 3.5.0 is not stable, but in fact it is). I know this is a weird scenario, and might be a long shot to get an answer here. PS: if you have any idea that makes sense to my library and my community (other than the one I mentioned above), I'm open to ditch my custom versioning too |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @sedghi , Lerna would not be able to do all of this in one command. But you could definitely achieve it in CI. After If done this way, Lerna can definitely accomplish this, since it is just performing normal version and publish operations, just twice in sequence - once on each branch. |
Beta Was this translation helpful? Give feedback.
Yeah for anyone interested I did it in CI with node, works great
https://github.com/OHIF/Viewers/blob/master/publish-version.mjs
https://github.com/OHIF/Viewers/blob/master/publish-package.mjs