-
Notifications
You must be signed in to change notification settings - Fork 94
Release Process
Alex Gilleran edited this page Feb 11, 2019
·
10 revisions
-1. Check out a merge branch from the old release branch and align the version with new master:
git checkout release/<old release version>
git checkout -b merge/<old release version>
lerna publish --force-publish --skip-npm --skip-git #set the version to the new master version
# Commit using your git client of choice
And do a text editor search to update other instances of the old version
- Merge master into the merge branch and raise a PR.
git pull origin master
git push
- Create a new release branch:
git checkout master
git fetch origin master
git reset --hard origin/master
git checkout -b release/<version>
- Bump the lerna version
lerna publish --force-publish --skip-npm --skip-git
The new version should end in -RCx, e.g. 0.0.51-RC1
-
Search for the old version in text and replace it.
-
Push the release branch to github.
git push --set-upstream origin release/0.0.51
- Tag with the version and push that too.
git tag vx.x.x-RCx
git push origin vx.x.x-RCx
Wait for Gitlab to build that and push it up to dockerhub. Meanwhile...
- Release the last version without
-RC
- repeat steps 1-5 but first checkout the old release branch:
git checkout release/<old version>
git pull
- Create a branch for the new master version and bump its version to the new prerelease
git checkout master
git fetch origin master
git reset --hard origin/master
git checkout -b bump-version
lerna publish --force-publish --skip-npm --skip-git #publish with a pre-release version like 0.0.50-0
Also do a search using a text editor then commit.
-
Put a new version at the top of the CHANGES.md file
-
Push new-master and PR it!