Collapse package version edits
+7
-15
@@ -31,11 +31,11 @@ Commit your changes:
|
||||
git add changelog
|
||||
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
|
||||
{
|
||||
"name": "openlayers",
|
||||
@@ -43,24 +43,16 @@ E.g.
|
||||
}
|
||||
```
|
||||
|
||||
git add 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.
|
||||
And in `package/package.json`
|
||||
```json
|
||||
{
|
||||
"name": "ol",
|
||||
"version": "3.1.0-beta.1"
|
||||
"version": "3.1.0"
|
||||
}
|
||||
```
|
||||
|
||||
git add package/package.json
|
||||
git commit -m 'Update ol package version to 3.1.0-beta.1'
|
||||
|
||||
git add package.json package/package.json
|
||||
git commit -m 'Update package version to 3.1.0'
|
||||
|
||||
### Merge the release branch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user