mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
simplify instructions to refresh imagery; use npm version
This commit is contained in:
+6
-6
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user