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

(WIP) Release Process Checklist

Aubrey Keus edited this page Sep 6, 2016 · 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>
  • npm run build
  • node tools/update.js --version=<version> --notes="<message approved by @aekeus>. More details: <link to release notes>" --channel=dev --overwrite
  • git add -u
  • git commit -m "<version>" -m "Auditors: @aekeus"
  • git push (alternatively: git push --set-upstream origin dev-<version>)
  • Ask @bbondy 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

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. Edit the release notes title and uncheck the box to publish : https://github.com/brave/browser-laptop/releases
  2. Update dependency release notes as needed
  3. Notify #browser, #community, #general, #pr, #testers of the latest release with a link to the release notes
  4. 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