tagging - theRAPTLab/gsgo GitHub Wiki
[Rough Notes]
There are some lerna tips in gsgo/docs/10-tips/10-tips-lerna.md that describe the commands at the end
The one under Lerna Repo Management "Version Releases: What is the best way to commit from dev to master?" has the general guide
You can probably skip the releasecandidates step in the beginning and use dev as the source for master
To be on the safe side, you might test first by creating a branch off of the current master (llike name it master-test and try those instructions
I think there's also a way to preview it without committing.
If you use lerna version --help you'll see the options...I think we can do --no-push
On Ben's machine have to use npx
to run lerna
.
To Test with master-test2
branch:
-
On GitLab: Create
master-test2
branch -
On Local:
git fetch
git checkout master-test2
git merge dev
npx lerna version 'preminor' --no-push --allow-branch master-test2
- To release to master:
git checkout master
git merge dev
npx lerna version 'preminor'
Used preminor
to bump 0.0.1-alpha9
to 0.1.0-alpha0
.