|
1 | | -# Release process |
2 | | -This document details steps for publishing packages and tag the code base accordingly: |
3 | | - |
4 | | - |
5 | | -1) Publish (using lerna) all the modules that depends on one of the newly published module |
6 | | - |
7 | | -- checkout a new branch from master |
8 | | -- npm run publish (that command use lerna) |
9 | | -- commit |
10 | | - |
11 | | -2) Increment the root (repository scoped) package.json |
12 | | - |
13 | | -- increment root package.json version |
14 | | -- commit |
15 | | -- merge the branch |
16 | | - |
17 | | -3) Create a tag (using the package.json version) |
18 | | - |
19 | | -- checkout latest origin/master |
20 | | -- npm run tag |
21 | | -- previousVersion=[previous_version] npm run updateChangelog |
22 | | -- create a new release out of the changes of CHANGELOG.md |
23 | | - |
24 | | -4) Commit new updated CHANGELOG.md |
25 | | - |
26 | | - |
| 1 | +# Release process |
| 2 | + |
| 3 | +This document includes: |
| 4 | + - how to update remix.ethereum.org. |
| 5 | + - how to update remix-alpha.ethereum.org. |
| 6 | + - how to release remix IDE. |
| 7 | + |
| 8 | +## Remix libs release |
| 9 | + - TODO |
| 10 | + |
| 11 | +## Remix IDE release |
| 12 | + |
| 13 | + - git fetch origin master |
| 14 | + - git checkout origin/master |
| 15 | + - git checkout -b bumpVersion |
| 16 | + - update package.json version |
| 17 | + - remove package-lock.json version and generate a new one with `npm install` |
| 18 | + - merge PR |
| 19 | + - git fetch origin master |
| 20 | + - git checkout origin/master |
| 21 | + - git tag v(version-number) |
| 22 | + - git push --tags |
| 23 | + - github-changes -o ethereum -r remix-ide -a --only-pulls --use-commit-body --only-merges --between-tags previous_version...next_version |
| 24 | + - publish a release in github using the changelog |
| 25 | + - after remix_live is updated, drop the zip (from https://github.com/ethereum/remix-live/) to the release. |
| 26 | + |
| 27 | +## Remix-ide beta release |
| 28 | + - git fetch origin master |
| 29 | + - git checkout origin/master |
| 30 | + - git checkout -b bumpVersion |
| 31 | + - update package.json version to the new version "vx.x.x-beta.1" |
| 32 | + - remove package-lock/json version and generate a new one with `npm install` |
| 33 | + - merge PR |
| 34 | + - git fetch origin master |
| 35 | + - git checkout origin/master |
| 36 | + - git tag v(version-number) (with "vx.x.x-beta.1") |
| 37 | + - git push --tags |
| 38 | + - github-changes -o ethereum -r remix-ide -a --only-pulls --use-commit-body --only-merges --between-tags previous_version...next_version |
| 39 | + - publish a beta release in github using the changelog |
| 40 | + - drop zip file to the beta release (from https://github.com/ethereum/remix-live-alpha) |
| 41 | + |
| 42 | +## remix.ethereum.org update |
| 43 | + |
| 44 | +This is not strictly speaking a release. Updating the remix site is done through the Travis build: |
| 45 | + |
| 46 | + - git co -b remix_live origin/remix_live |
| 47 | + - git reset --hard -master-commit-hash- |
| 48 | + - git push -f origin remix_live |
| 49 | + |
| 50 | + CircleCI will build automaticaly and remix.ethereum.org will be updated |
| 51 | + |
| 52 | +## remix-alpha.ethereum.org update |
| 53 | + |
| 54 | +remix-alpha.ethereum.org is automaticaly updated every time commits are pushed to master |
| 55 | + |
0 commit comments