diff --git a/docs/developer-guide.md b/docs/developer-guide.md index 8e43bd386f5c..c8300aeaa6d6 100644 --- a/docs/developer-guide.md +++ b/docs/developer-guide.md @@ -270,12 +270,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 @@ -283,17 +286,16 @@ git push 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 diff --git a/package.json b/package.json index 0f1962cce3e8..9e1a9f157dd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngeo", - "version": "2.2.8", + "version": "2.2.9", "description": "AngularJS OpenLayers Library", "scripts": { "prepublish": "make -f npm.mk install"