Skip to content

Commit

Permalink
Skip assets upload if release was not completed
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jan 3, 2019
1 parent 3f7023b commit 4939533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github-client.js
Expand Up @@ -167,7 +167,7 @@ class GitHub {

this.log.exec('octokit releases#uploadAssets', assets);

if (!assets) {
if (!assets || !this.isReleased) {
return noop;
}

Expand Down

0 comments on commit 4939533

Please sign in to comment.