diff --git a/.travis.yml b/.travis.yml index 51a7caf5..61019346 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: node_js script: make test before_deploy: -- npm-prepublish --verbose +- npm-prepublish --verbose --lax deploy: provider: npm email: "replace-with-email" diff --git a/MAINTAINING.md b/MAINTAINING.md index cd22df25..5d89e0bf 100644 --- a/MAINTAINING.md +++ b/MAINTAINING.md @@ -6,16 +6,21 @@ This project follows [semver](http://semver.org/). So if you are making a bug fix, only increment the patch level "1.0.x". If any new files are added, a minor version "1.x.x" bump is in order. -### Make a release +### Make a release commit -To prepare the release: +To prepare the release commit: -1. Make a single empty commit with the description as "Fetch 1.x.x". -2. Tag the commit with `v1.x.x`. +1. Edit the npm [package.json](https://github.com/github/fetch/blob/master/package.json) +`version` value. +2. Make a single commit with the description as "Fetch 1.x.x". +3. Finally, tag the commit with `v1.x.x`. ``` $ git pull -$ git commit --allow-empty -m "Fetch 1.x.x" +$ vim package.json +$ git add package.json +$ git commit -m "Fetch 1.x.x" $ git tag v1.x.x +$ git push $ git push --tags ``` diff --git a/package.json b/package.json index 1bb5e71e..a53c07e9 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "fetch", + "version": "0.4.0", "main": "fetch.js", "private": true, "devDependencies": {