diff --git a/docs/developer-guide.md b/docs/developer-guide.md index 53b9d2d66c49..d3ae0d7e6a32 100644 --- a/docs/developer-guide.md +++ b/docs/developer-guide.md @@ -64,12 +64,15 @@ fdescribe('...', function() { ## Create a package on npm ``` -git checkout master +git checkout git fetch origin -git reset --hard origin/master +git reset --hard origin/ ``` -Create a tag named the same as the version. +Where `` stand for `2.x`. + +Verify that the `` (`2.x.x`) in package.json match with the tag you'll +create. Then create a tag named the same as the version. ``` git tag git push origin @@ -77,17 +80,16 @@ git push origin Travis will create a new package on npm. - If you create a new release, bump version in the package.json file: ``` git checkout -b bump vi package.json git add package.json -git commit -m "Bump version to 2.2.x+1" +git commit -m "Bump version to " git push origin bump ``` -Do the pull request +Do the pull request on branch `` ## Create a new stabilisation branch