update release-process

pull/5370/head
Aniket-Engg 2 years ago committed by Aniket
parent 9776c0c25f
commit 5ba75e73b1
  1. 57
      release-process.md

@ -1,31 +1,36 @@
# Release process # Release process
This document includes: This document includes the instructions to release for:
- how to release the remixd - remixd to NPM
- how to publish remix libs to NPM - Remix libraries to NPM
- how to update remix.ethereum.org - remix.ethereum.org
- how to update remix-alpha.ethereum.org - remix-alpha.ethereum.org
- how to update remix-beta.ethereum.org - remix-beta.ethereum.org
- how to release remix IDE
## remixd NPM release
## RemixD release - Bump version for remixd in `./libs/remixd/package.json`
- update new version number in remixd libs/remixd/package.json - Run: `nx build remixd`
- nx build remixd - Move to build directory: `cd ./dist/libs/remixd`
- cd into ./dist/libs/remixd - Publish to NPM: `npm publish` (Make sure you are logged in to NPM)
- npm publish - create bump PR to master
- create bump PR to master.
## Remix libraries NPM release
## Remix libs release - Make sure you are on latest `master` branch
(remove dist and login to npm) - `git pull origin master`
- git fetch origin master - `git checkout -b bumpLibsVersion`
- git checkout origin/master - `yarn run publish:libs `
- git checkout -b bumpLibsVersion
- yarn run publish:libs (this command uses lerna) This command uses `lerna` and solely responsible for publishing all the remix libraries. It will ask for a new version of each library. Make sure you are logged in to NPM.
- commit
Once this command is done, versions for each remix library should be updated to latest in libs package.json file.
## Remix IDE release Part 1. First push master to beta. Feature Freeze - Create bump PR to master
- git co -b remix_beta origin/remix_beta
- git reset --hard -master-commit-hash- ## Feature Freeze
Once feature freeze is done, `remix_beta` should be update latest to the master which will automatically update `remix-beta.ethereum.org` through a CI job.
- git checkout remix_beta
- git pull origin remix_beta
- git reset --hard <master-commit-hash> (`master-commit-hash` will be latest commid id from `master` branch)
- git push -f origin remix_beta - git push -f origin remix_beta
## Testing phase ## Testing phase

Loading…
Cancel
Save