Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Update release-process.md #1107

Merged
merged 1 commit into from
Jan 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 35 additions & 6 deletions release-process.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,46 @@
# Release process
This document details steps for publishing packages and tag the code base accordingly:

- fetch origin/master
- checkout origin/master
- checkout a new branch
- npm run publish

# Case where we deploy a remix module that is a dependency for another remix module:
**remix-lib** , **remix-simulator** , **remix-solidity**

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

2) increment the root (repository scoped) package.json

- increment root package.json version
- commit
- 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
- 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
- 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