Skip to content

Commit 937b41a

Browse files
committed
Update RELEASE.md
1 parent a893408 commit 937b41a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

RELEASE.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ git reset origin/master --hard
1515
## Merge `mb-pages` into `master`
1616

1717
```bash
18+
git checkout master &&
1819
git merge origin/mb-pages --no-edit
1920
```
2021

2122
## Make sure your environment is in a good state
2223

2324
```bash
25+
git checkout master &&
2426
npm install &&
2527
npm test &&
2628
npm run test-suite
@@ -31,14 +33,15 @@ npm run test-suite
3133
Start the docs server by running
3234

3335
```bash
36+
git checkout master &&
3437
npm run start-docs
3538
```
3639

3740
Test at least the following examples before continuing
3841

3942
- [Add GeoJSON markers](http://127.0.0.1:4000/mapbox-gl-js/example/geojson-markers/)
4043
- [Animate a point](http://127.0.0.1:4000/mapbox-gl-js/example/animate-point-along-line/)
41-
- [Get features under the mouse pointer](http://127.0.0.1:4000/mapbox-gl-js/example/featuresat/)
44+
- [Get features under the mouse pointer](http://127.0.0.1:4000/mapbox-gl-js/example/queryrenderedfeatures/)
4245
- [Fly to a location based on scroll position](http://127.0.0.1:4000/mapbox-gl-js/example/scroll-fly-to/)
4346
- [Display markers with popups](http://127.0.0.1:4000/mapbox-gl-js/example/marker-popup/)
4447
- [Highlight features under the mouse pointer](http://127.0.0.1:4000/mapbox-gl-js/example/hover-styles/)
@@ -62,7 +65,7 @@ Look over the changes and choose a new version number, respecting [semver](http:
6265

6366
## Update version number
6467

65-
Update the version number in `package.json`, `README.md`, `bench/fps/site.js`, `_config.yml`, and `_config.mb-pages.yml`.
68+
Update the version number in `package.json`, `README.md`, `_config.yml`, and `_config.mb-pages.yml`.
6669

6770
## Commit and tag release
6871

@@ -71,7 +74,9 @@ After **carefully inspecting the diff**, commit and tag the release.
7174
The [CI server](https://circleci.com/gh/mapbox/mapbox-gl-js) will automatically publish tagged builds to the Mapbox CDN. **There is no going back once you execute these commands! A published version tag is forever on our CDN.**
7275

7376
```bash
74-
VERSION=vX.Y.Z && # UPDATE ME
77+
VERSION=vX.Y.Z # UPDATE ME
78+
79+
git checkout master &&
7580
git commit -am $VERSION &&
7681
git tag $VERSION &&
7782
git push origin &&
@@ -103,3 +108,5 @@ git checkout master &&
103108
npm install &&
104109
npm publish
105110
```
111+
112+

0 commit comments

Comments
 (0)