Update release-process.md

pull/7/head
yann300 6 years ago committed by GitHub
parent f886ca6375
commit 64598e9b32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 41
      release-process.md

@ -1,17 +1,46 @@
# Release process # Release process
This document details steps for publishing packages and tag the code base accordingly: This document details steps for publishing packages and tag the code base accordingly:
- fetch origin/master
- checkout origin/master # Case where we deploy a remix module that is a dependency for another remix module:
- checkout a new branch **remix-lib** , **remix-simulator** , **remix-solidity**
- npm run publish
1) publish (using lerna) all the modules that depends on one of the newly published module:
- checkout a new branch from master
- npm run publish (that command use lerna)
- commit - commit
2) increment the root (repository scoped) package.json
- increment root package.json version - increment root package.json version
- commit - commit
- merge the branch - merge the branch
- fetch origin/master
- checkout origin/master 3) create a tag (using the package.json version)
- checkout latest origin/master
- npm run tag - npm run tag
- github-changes -o ethereum -r remix -a --only-pulls --use-commit-body --only-merges --between-tags previous_version...next_version - github-changes -o ethereum -r remix -a --only-pulls --use-commit-body --only-merges --between-tags previous_version...next_version
- create a new release out of the changelog.md - create a new release out of the changelog.md
- in changelog put list of published packages with version - in changelog put list of published packages with version
# Case where we deploy a top level library
**remix-debug** , **remix-tests** , **remix-url-resolver** , **remix-analyzer**
1) publish the module:
- checkout a new branch from master
- cd in the module folder
- increment package.json version
- npm run publish
2) create a tag (using the package.json version)
- checkout latest origin/master
- git tag <module-name>@<version>
- git push --tags
- github-changes -o ethereum -r remix -a --only-pulls --use-commit-body --only-merges --between-tags previous_version...next_version
- keep only PRs related to changes in the published module
- create a new release out of the changelog.md

Loading…
Cancel
Save