Skip to content

Commit

Permalink
Merge pull request #4600 from camptocamp/merge_22_into_23
Browse files Browse the repository at this point in the history
Merge 22 into 23
  • Loading branch information
ger-benjamin committed Feb 6, 2019
2 parents 7587a5d + f08b5eb commit 2414ad0
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 @@ -64,30 +64,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 origin <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 2414ad0

Please sign in to comment.