Skip to content

Commit

Permalink
Partially revert npm publish changes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-andrews committed Jan 9, 2015
1 parent 7b95369 commit 5f86edb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
15 changes: 10 additions & 5 deletions MAINTAINING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "fetch",
"version": "0.4.0",
"main": "fetch.js",
"private": true,
"devDependencies": {
Expand Down

0 comments on commit 5f86edb

Please sign in to comment.