support draft releases for in and out

* in will pull in the latest release, even if draft. It will not create
  the files `tag` and `version`, if no tag is defined on the draft
  release.
* out will push a release in a draft state when provided as a param

[#102513822]

Signed-off-by: David Morhovich <dmorhovich@pivotal.io>
This commit is contained in:
JT Archie
2015-10-20 17:47:08 -04:00
committed by David Morhovich
parent a7eb775171
commit b2eee37237
5 changed files with 122 additions and 12 deletions

View File

@@ -40,6 +40,7 @@ type OutParams struct {
BodyPath string `json:"body"`
TagPath string `json:"tag"`
CommitishPath string `json:"commitish"`
Draft bool `json:"draft"`
Globs []string `json:"globs"`
}