Skip to content

Commit

Permalink
Switch to use releasor instead of a separate release script
Browse files Browse the repository at this point in the history
Fixes #12.
  • Loading branch information
kimmobrunfeldt committed Nov 22, 2015
1 parent e95d54b commit 3185c47
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 294 deletions.
14 changes: 9 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# Contributing

Pull requests and contributions are warmly welcome.
Please follow existing code style and commit message conventions. Also remember to keep documentation
updated.

**Pull requests:** You don't need to bump version numbers or modify anything related to releasing. That stuff is fully automated, just write the functionality.
Please follow existing code style and commit message conventions.
Remember to keep documentation updated.

**Pull requests:** You don't need to bump version numbers or modify anything
related to releasing. That stuff is fully automated, just write the functionality.

# Maintaining

## Release

* Commit all changes
* Run `./tools/release.js minor`, which will create new tag and publish code to GitHub and npm
* Run `./node_modules/.bin/releasor --bump minor`, which will create new tag and publish code to GitHub and npm

See [releasor documentation](https://github.com/kimmobrunfeldt/releasor)
for detailed usage.

* Edit GitHub release notes
101 changes: 51 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,52 @@
{
"name": "chokidar-cli",
"description": "Ultra-fast cross-platform command line utility to watch file system changes.",
"version": "1.1.1-dev",
"keywords": [
"fs",
"watch",
"watchFile",
"watcher",
"watching",
"file",
"fsevents",
"chokidar",
"cli",
"command",
"shell",
"bash"
],
"bin": {
"chokidar": "./index.js"
},
"homepage": "https://github.com/kimmobrunfeldt/chokidar-cli",
"author": "Kimmo Brunfeldt <kimmobrunfeldt@gmail.com> (http://kimmobrunfeldt.github.io/)",
"repository": {
"type": "git",
"url": "https://github.com/kimmobrunfeldt/chokidar-cli.git"
},
"bugs": {
"url": "http://github.com/kimmobrunfeldt/chokidar-cli/issues"
},
"license": "MIT",
"dependencies": {
"anymatch": "^1.1.0",
"bluebird": "^2.9.24",
"chokidar": "^1.0.1",
"lodash": "^3.7.0",
"shell-quote": "^1.4.3",
"yargs": "^3.7.2"
},
"devDependencies": {
"commander": "^2.8.0",
"mocha": "^2.2.4",
"mustache": "^2.0.0",
"semver": "^4.3.3",
"shelljs": "^0.4.0",
"string": "^3.1.1"
},
"scripts": {
"test": "mocha"
}
}
"name": "chokidar-cli",
"description": "Ultra-fast cross-platform command line utility to watch file system changes.",
"version": "1.1.1-dev",
"keywords": [
"fs",
"watch",
"watchFile",
"watcher",
"watching",
"file",
"fsevents",
"chokidar",
"cli",
"command",
"shell",
"bash"
],
"bin": {
"chokidar": "./index.js"
},
"homepage": "https://github.com/kimmobrunfeldt/chokidar-cli",
"author": "Kimmo Brunfeldt <kimmobrunfeldt@gmail.com> (http://kimmobrunfeldt.github.io/)",
"repository": {
"type": "git",
"url": "https://github.com/kimmobrunfeldt/chokidar-cli.git"
},
"bugs": {
"url": "http://github.com/kimmobrunfeldt/chokidar-cli/issues"
},
"license": "MIT",
"dependencies": {
"anymatch": "^1.1.0",
"bluebird": "^2.9.24",
"chokidar": "^1.0.1",
"lodash": "^3.7.0",
"shell-quote": "^1.4.3",
"yargs": "^3.7.2"
},
"devDependencies": {
"commander": "^2.8.0",
"mocha": "^2.2.4",
"mustache": "^2.0.0",
"releasor": "^1.2.1",
"semver": "^4.3.3",
"shelljs": "^0.4.0",
"string": "^3.1.1"
},
"scripts": {
"test": "mocha"
}
}
239 changes: 0 additions & 239 deletions tools/release.js

This file was deleted.

0 comments on commit 3185c47

Please sign in to comment.