Collapse package version edits

Tim Schaub
2017-05-03 08:32:34 -06:00
parent 5cd111b22f
commit 7869cb4cc7
+7 -15
@@ -31,11 +31,11 @@ Commit your changes:
git add changelog git add changelog
git commit -m 'Changelog for v3.1.0' git commit -m 'Changelog for v3.1.0'
### Update `package.json` ### Update `package.json` and `package/package.json`
Update the version number in `package.json` to reflect the target release. Create a commit for this change as well. Update the version numbers in `package.json` and `package/package.json` to reflect the target release. Create a commit for this change as well.
E.g. E.g. in `package.json`
```json ```json
{ {
"name": "openlayers", "name": "openlayers",
@@ -43,24 +43,16 @@ E.g.
} }
``` ```
git add package.json And in `package/package.json`
git commit -m 'Update package version to 3.1.0'
### Update `package.json` for the ol package
Update the beta version number in `package/package.json` to reflect the target release. Create a commit for this change as well.
E.g.
```json ```json
{ {
"name": "ol", "name": "ol",
"version": "3.1.0-beta.1" "version": "3.1.0"
} }
``` ```
git add package/package.json git add package.json package/package.json
git commit -m 'Update ol package version to 3.1.0-beta.1' git commit -m 'Update package version to 3.1.0'
### Merge the release branch ### Merge the release branch