-
Notifications
You must be signed in to change notification settings - Fork 111
New platform version release process
-
Pull the latest from upstream/master
-
Create a new main version branch off master (i.e for new version 0.20 =>
git checkout -b v0.20
) -
Update the master manifest by adding entry for new platform version
-
Make sure you are logged in NPM public with the
electrode-native
NPM user account -
Update version in postinstall.js script
Forconst PLATFORM_VERSION =
replace with the right new version (i.e if 0.20.0 =>const PLATFORM_VERSION = '0.20.0'
-
Run
node_modules/.bin/lerna publish --skip-git --exact
When prompted to select a new version chooseMinor
and hit Enter. Confirm when prompted to proceed. -
Git add all changes and push them to remote version branch
i.e for version0.20.0
=>git add .
/git commit -m "v0.20.0"
/git push upstream v0.20
-
Git tag with current version
i.e for version0.20.0
=>git tag v0.20.0
-
Push tag to upstream i.e for version
0.20.0
=>git push upstream v0.20.0
-
Write release notes for new version tag in GitHub and publish the release notes Go through all PRs since previous released version
-
Slack all user channels to announce new version, linking release notes
-
Checkout the main version branch
i.e if you are planning to release0.20.1
=>git checkout 0.20
-
Make sure the version branch is in-sync with the remote
i.e for0.20
=>git pull upstream 0.20
-
Cherry pick all commits from master that need to make it in this patch version
-
Make sure you are logged in NPM public with the
electrode-native
NPM user account -
Update version in postinstall.js script
Forconst PLATFORM_VERSION =
replace with the right new version (i.e if 0.20.1 =>const PLATFORM_VERSION = '0.20.1'
-
Run
node_modules/.bin/lerna publish --skip-git --exact
When prompted to select a new version choosePatch
and hit Enter. Confirm when prompted to proceed. -
Git add all changes and push them to remote version branch
i.e for version0.20.1
=>git add .
/git commit -m "v0.20.1"
/git push upstream v0.20
-
Git tag with current version
i.e for version0.20.1
=>git tag v0.20.1
-
Push tag to upstream i.e for version
0.20.1
=>git push upstream v0.20.1
-
Write release notes for new version tag in GitHub and publish the release notes Go through all PRs since previous released version
-
Slack all user channels to announce new version, linking release notes