filter by drafts in the check step

The user now opts-in to getting final or draft releases. Default
behaviour is final releases.

NOTE: There is also strict filtering on only allowing semver supported tags.

Signed-off-by: David Jahn <david.a.jahn@gmail.com>
This commit is contained in:
JT Archie
2015-10-22 12:27:52 -04:00
committed by David Jahn
parent e3a3a53dba
commit 7331e0a7ad
13 changed files with 329 additions and 54 deletions

View File

@@ -19,6 +19,10 @@ Fetches and creates versioned GitHub resources.
* `github_api_url`: *Optional.* If you use a non-public GitHub deployment then
you can set your API URL here.
* `drafts`: *Optional.* When set to `true` only returns draft releases with
semver compliant tags. Defaults to `false` returning only final releases
with semver compliant tags.
### Example
``` yaml
@@ -93,3 +97,5 @@ matching the patterns in `globs` to the release.
* `globs`: *Optional.* A list of globs for files that will be uploaded alongside
the created release.
* `draft`: *Optional.* A boolean to set the release in draft mode or not.