Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump #4424

Merged
merged 3 commits into from
Nov 29, 2018
Merged

Bump #4424

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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