https://github.com/mmiller42/create-github-release-render-clubhouse-stories
Render function for use with create-github-release to render pull requests with associated Clubhouse stories.
https://github.com/mmiller42/create-github-release-render-clubhouse-stories
clubhouse create-github-release github github-releases release-notes
Last synced: 3 months ago
JSON representation
Render function for use with create-github-release to render pull requests with associated Clubhouse stories.
- Host: GitHub
- URL: https://github.com/mmiller42/create-github-release-render-clubhouse-stories
- Owner: mmiller42
- License: mit
- Created: 2017-09-16T20:44:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-05T15:07:10.000Z (about 7 years ago)
- Last Synced: 2025-03-11T01:09:58.508Z (3 months ago)
- Topics: clubhouse, create-github-release, github, github-releases, release-notes
- Language: JavaScript
- Size: 138 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-github-release-render-clubhouse-stories
[](https://circleci.com/gh/mmiller42/create-github-release-render-clubhouse-stories) [](https://greenkeeper.io/)
Render function for use with [`create-github-release`](https://github.com/mmiller42/create-github-release) to render pull requests with associated Clubhouse stories.
Extends the default template to render another column in the pull requests table with details about any Clubhouse stories that were referenced in the pull request comments by URL.
## Installation
```bash
npm install --save-dev create-github-release-render-clubhouse-stories
```## API
### Configuration
The configuration file must export an object, which can have the following properties:
| Property | Type | Description | Default |
| ---------- | -------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| `token` | string | Your Clubhouse API token. [Generate one](https://app.clubhouse.io/settings/account/api-tokens) | *Required* |
| `template` | string | The path to a Mustache template that will be used to generate the release notes. | [`DEFAULT_TEMPLATE`](src/defaultTemplate.md.hbs) |### Example
```js
// github-release.config.js
const createRenderer = require('create-github-release-render-clubhouse-stories')module.exports = {
authenticateOptions: {
type: 'oauth',
token: 'b5ef45e4a2c245a5a4243b2882034a9f',
},
owner: 'mmiller42',
repo: 'html-webpack-externals-plugin',
render: createRenderer({
token: '4f4e84744f9f47788468fc1f2d570329',
}),
}
```