提交 5f86edbf 编写于 作者: M Matthew Andrews

Partially revert npm publish changes

上级 7b953699
language: node_js
script: make test
before_deploy:
- npm-prepublish --verbose
- npm-prepublish --verbose --lax
deploy:
provider: npm
email: "replace-with-email"
......
......@@ -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
```
{
"name": "fetch",
"version": "0.4.0",
"main": "fetch.js",
"private": true,
"devDependencies": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册