Skip to content
This repository was archived by the owner on Jan 14, 2020. It is now read-only.

Commit 6a4390c

Browse files
author
Franck Chastagnol
committed
Update RELEASE.md with instructions for pushing to the bridge server.
1 parent abd2481 commit 6a4390c

File tree

1 file changed

+29
-7
lines changed

1 file changed

+29
-7
lines changed

RELEASE.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,40 @@ No additional features should be added to this release branch. Only bug fixes sh
9595
- `git tag -a v0.3.0 -m "New release"`
9696

9797
### origin-bridge
98-
- [ ] _origin-dapp_: Merge and push branches
98+
Pre-requesites:
99+
- Install the [Heroku cli](https://devcenter.heroku.com/articles/heroku-cli) on your local host.
100+
101+
Publish steps:
102+
- [ ] Merge and push branches.
99103
- `git checkout develop`
100-
- `git merge --no-ff release-0.2.0`
104+
- `git merge --no-ff release-X.Y.Z`
101105
- `git push`
102106
- `git checkout master`
103-
- `git merge --no-ff release-0.2.0`
107+
- `git merge --no-ff release-X.Y.Z`
104108
- `git push`
105-
- [ ] _origin-js_: Delete release branch
106-
- `git branch -D release-0.2.0`
109+
- [ ] Delete release branch.
110+
- `git branch -D release-X.Y.Z`
107111
- _Manually_ [delete on GitHub](https://github.com/OriginProtocol/origin-bridge/branches)
108-
- [ ] _origin-bridge_: Add git tag to `master` to match origin-js.
109-
- `git tag -a v0.2.0 -m "New release"`
112+
- [ ] Add git tag to `master` to match origin-js.
113+
- `git checkout master`
114+
- `git tag -a vX.Y.Z -m "New release"`
115+
- `git push`
116+
- [ ] Push to Heroku.
117+
- Clone Heroku git repo.
118+
- `heroku git:clone -a bridge-originprotocol-com`
119+
- `cd bridge-originprotocol-com/`
120+
- Pull Origin's master into Heroku's master.
121+
- `git remote add origin https://github.com/OriginProtocol/origin-bridge.git`
122+
- `git pull origin master`
123+
- Push to heroku's git repo. This will also trigger Heroku to rebuild the packages, run DB migration(s) and deploy the new code.
124+
- `git push heroku master`
125+
- [ ] Check the Heroku deployment succeeded.
126+
- Check the web process is up.
127+
- `heroku ps -a bridge-originprotocol-com`
128+
- Tail the logs for errors.
129+
- `heroku logs -a bridge-originprotocol-com --tail`
130+
- Verify the home page loads.
131+
- `http://bridge.originprotocol.com`
110132

111133
## Follow-up
112134
- [ ] Confirm published `origin.js` file is accessible via `code.originprotocol.com` redirect

0 commit comments

Comments
 (0)