diff --git a/docs/developer-guide.md b/docs/developer-guide.md index 7d4b0c40314d..8e43bd386f5c 100644 --- a/docs/developer-guide.md +++ b/docs/developer-guide.md @@ -269,12 +269,33 @@ fdescribe('...', function() { ### Create a package on npm -Set the version in the `package.json` file. +``` +git checkout master +git fetch origin +git reset --hard origin/master +``` Create a tag named the same as the version. +``` +git tag +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 push origin bump +``` + +Do the pull request + + ### Create a new stabilisation branch When we create a new stabilisation branch we should also duplicate the localisation. diff --git a/package.json b/package.json index 1fcaeed6b3c4..0f1962cce3e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngeo", - "version": "2.2.6", + "version": "2.2.8", "description": "AngularJS OpenLayers Library", "scripts": { "prepublish": "make -f npm.mk install"