Skip to content

Commit

Permalink
Improve doc for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ger-benjamin committed Feb 6, 2019
1 parent e765ddc commit 37bb538
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,30 +270,32 @@ fdescribe('...', function() {
### Create a package on npm
```
git checkout master
git checkout <release-branch>
git fetch origin
git reset --hard origin/master
git reset --hard origin/<release-branche>
```
Create a tag named the same as the version.
Where `<release-branch>` stand for `2.x`.
Verify that the `<version>` (`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 <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 commit -m "Bump version to <version + 1>"
git push origin bump
```
Do the pull request
Do the pull request on branch `<release-branche>`
### Create a new stabilisation branch
Expand Down

0 comments on commit 37bb538

Please sign in to comment.