0.4.0 • Published 8 years ago
gh-autorelease v0.4.0
Github Auto-Release
Automatically create Github releases. Designed for use with CI.
Usage
Add
GITHUB_API_TOKEN
to environment:export GITHUB_API_TOKEN=abcdefg
Note that this is a personal access token you will need to generate: Github API Token.
Create a
gh-autorelease.json
file:{ "repo": "*owner*/*repo*" }
Configuration Options
The following configurations options are supported:
Name | Type | Description |
---|---|---|
repo | string | Required. The name of the repo to use (including the owner). eg. njbmartin/gh-auto-release . |
tag_name | string | Optional. The name of the tag. Defaults to version provided in package.json . |
name | string | Optional. The name of the release. Defaults to version provided in package.json . |
body | string | Optional. Text describing the contents of the tag. Defaults to description provided in package.json . |
draft | boolean | Optional. Create as a draft/published release. |
prerelease | boolean | Optional. Marks release as prerelease . |