Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.31 KB

RELEASING.md

File metadata and controls

52 lines (44 loc) · 1.31 KB

Rapid Release Checklist

If you want to update translations

  • If you don't have a transifex.auth file in the root of your Rapid project, you'll need to create a Transifex account, ask @bhousel for admin rights on the iD project, and then create this file with contents like
{ "user": "yourusername", "password": "*******" }

This file is not version-controlled and will not be checked in.

Update main branch

$  git checkout main
$  rm -rf package-lock.json node_modules/editor-layer-index/
$  npm install
$  npm run imagery
$  npm run all
$  git add . && git commit -m 'npm run imagery'
$  npm run translations
$  git add . && git commit -m 'npm run translations'
  • Update CHANGELOG.md
  • Set release version number in modules/core/context.js and package.json
$  git add . && git commit -m 'rapid-vA.B.C'
$  git push origin main

Update and tag release branch

$  git checkout release
$  git reset --hard main
$  npm run all
$  git add -f dist
$  git commit -m 'Check in build'
$  git tag rapid-vA.B.C
$  git push origin -f release rapid-vA.B.C
$  npm publish

Deploy

The Release branch contains everything to be deployed. For example:

$  git checkout release
$  aws s3 cp dist <destination>