From df5e407542704ba0f380515ec5d8ab89aa76775e Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Wed, 16 Aug 2023 17:33:08 +0200 Subject: [PATCH] simplify instructions to refresh imagery; use npm version --- RELEASING.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 7801b66d2..b7b406d5b 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -8,21 +8,21 @@ - If you don't have a `transifex.auth` file in the root of your iD checkout, you'll need to create a Transifex account, ask @tyr_asd or @bhousel for admin rights on the iD project, and then create this file with contents like - + ````json { "user":"api", "password": "" } ```` - + where you insert your personal [transifex api token](https://www.transifex.com/user/settings/api/). This file is not version-controlled and will not be checked in. ### Update `iD` #### Update `develop` branch + ```bash $ git checkout develop -$ rm package-lock.json -$ rm -rf node_modules/editor-layer-index/ -$ npm install +$ npm clean-install +$ npm install editor-layer-index $ npm run imagery $ npm run all $ git add . && git commit -m 'npm run imagery' @@ -31,9 +31,9 @@ $ git add . && git commit -m 'npm run translations' ``` - Check and finalize `CHANGELOG.md` -- Set release version number in `package.json` ```bash +$ npm version --no-git-tag-version vA.B.C $ git add . && git commit -m 'vA.B.C' $ git push origin develop ```