Run the prepare task when updating the version

Andreas Hocevar
2018-07-11 11:00:48 +02:00
parent 2fa7ec2bdf
commit 736e38ec8f
+3 -2
@@ -24,7 +24,7 @@ Commit your changes:
### Update `package.json`
Update the version numbers in `package.json` to reflect the target release. Create a commit for this change as well.
Update the version numbers in `package.json` to reflect the target release, and run the prepare task to update the version in `src/ol/util.js`. Create a commit for this change as well.
E.g. in `package.json`
```json
@@ -34,7 +34,8 @@ E.g. in `package.json`
}
```
git add package.json
npm run prepare
git add package.json src/ol/util.js
git commit -m 'Update package version to 3.1.0'
### Merge the release branch