source.drafts forces releases to be drafts

this makes all versions emitted and detected by the resource be
consistently drafts. a separate non-draft resource should be used for
publishing non-draft releases.
This commit is contained in:
Alex Suraci
2015-10-27 09:26:09 -07:00
parent 7331e0a7ad
commit e19842d3be
3 changed files with 2 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ func (c *OutCommand) Run(sourceDir string, request OutRequest) (OutResponse, err
}
}
draft := request.Params.Draft
draft := request.Source.Drafts
release := &github.RepositoryRelease{
Name: github.String(name),