@@ -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