- 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.
$ 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
andpackage.json
$ git add . && git commit -m 'rapid-vA.B.C'
$ git push origin main
$ 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
The Release branch contains everything to be deployed. For example:
$ git checkout release
$ aws s3 cp dist <destination>