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:
@@ -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),
|
||||
|
Reference in New Issue
Block a user