Skip to content

Commit

Permalink
Merge pull request #4424 from camptocamp/bump
Browse files Browse the repository at this point in the history
Bump
  • Loading branch information
ger-benjamin authored Nov 29, 2018
2 parents f35d5ee + 7590bc9 commit 4c4519a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion docs/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <version>
git push <version>
```
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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 4c4519a

Please sign in to comment.