Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

(WIP) Release Process Checklist

Alex Wykoff edited this page May 30, 2017 · 43 revisions

Release Process Checklist

Feel free to copy this into an issue if you want to keep track of items per-milestone. Be super sure that is replaced with the version you wish to use.

Release Commands

First-time Setup

  1. git clone git@github.com:brave/vault-updater && cd vault-updater
  • npm install
  • install the heroku toolbelt https://toolbelt.heroku.com/ , ask @mrose17 to add you
  • git remote add heroku-staged https://git.heroku.com/brave-laptop-updates-pre.git
  • *(optional) you can check logs : heroku logs --tail --app brave-laptop-updates-pre

Every time thereafter

  1. cd vault-updater
  • git checkout -b dev-<version>
  • cd ../remote-tools
  • node bin/updateBrowser.js --version=<version> --notes="<message approved by @aekeus>. More details: <link to release notes>" --channel=dev --overwrite --release --location=../vault-updater/data
  • cd ../vault-updater
  • git add -u
  • git commit -m "<version>" -m "Auditors: @aekeus"
  • git push (alternatively: git push --set-upstream origin dev-<version>)
  • Ask @bbondy or @clifton to upload builds
  • git push heroku-staged dev-<version>:master

Fastly

  1. Log into Fastly and purge the cache

Test Staging

  1. Install a prior version of the app
  2. BRAVE_UPDATE_HOST=https://laptop-updates-pre.brave.com open -a ./Brave.app
  3. Confirm SHA in about:brave matches expectations

Merge Into Master

  1. git checkout master
  2. git merge dev-<version>
  3. git push

Push To Production

  1. git push heroku

Update Notes And Broadcast

  1. Wait for confirmtion that Windows live update works
  2. Wait for confirmtion that Linux live update works
  3. Edit the release notes title and uncheck the box to publish : https://github.com/brave/browser-laptop/releases
  4. Update dependency release notes as needed
  5. Notify #browser, #community, #general, #pr, #testers of the latest release with a link to the release notes
  6. Add a screenshot to the #pr channel for social broadcast

Update crash server

  1. Modify BRAVE_VERSIONS env. var. on brave-stats to include brave/electron version (at most three versions) (BRAVE_VERSIONS='1.3.1 1.3.2 1.3.3') We need to keep to a maximum of three versions currently.
  2. Modify NODE_MODULES_CACHE env. var. to force node_modules reload (NODE_MODULES_CACHE=false)
  3. Commit empty change for Heroku (git commit -am 'install electron symbols for 1.3.3, remove old version' --allow-empty)
  4. git push heroku master

Update data files

  1. Push out data files to match the ones used in browser-laptop master.

Update Release channel wiki

  1. Update entries here as needed: https://github.com/brave/browser-laptop/wiki/Release-channels