simplify instructions to refresh imagery; use npm version

This commit is contained in:
Martin Raifer
2023-08-16 17:33:08 +02:00
parent 4faf521c0c
commit df5e407542
+6 -6
View File
@@ -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": "<your-transifex-api-key>" }
````
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
```