1.0.0 • Published 10 years ago
hubot-package-version-release v1.0.0
hubot-package-version-release
publish release on GitHub based package.json
Dependencies
Install
npm install --save hubot-package-version-releaseadd hubot-package-version-release to external-scripts.json
["hubot-package-version-release"]Usage
hubot> hubot publish release user/repository from package.jsonresult

Configuration
| environment variable | description | default |
|---|---|---|
| HUBOT_GITHUB_TOKEN | (require) GitHub API Token | - |
| HUBOT_GITHUB_BASE_BRANCH | (optional) publish target_commitish | 'release' |
| HUBOT_GITHUB_OWNER | (optional) default owner (org or user). if it is not given. | - |
| HUBOT_GITHUB_RAW | (optional) GitHub raw url. It is userful for GitHub Enterprise. | 'https://raw.github.com' |
| HUBOT_GITHUB_API | (optional) GitHub API url. It is userful for GitHub Enterprise. (This is defined in githubot) | 'https://api.github.com' |
License
This software is released under the MIT License, see LICENSE.
1.0.0
10 years ago