Write error to stderr if publishing release fails

This commit is contained in:
David Wilson
2018-07-09 15:51:32 -07:00
parent 0d0db817eb
commit 49b9b9efeb

View File

@@ -42,7 +42,7 @@ uploadToS3(
assets
}, function (err, release) {
if (err) {
console.log("An error occurred while publishing the release:\n\n", err)
console.error("An error occurred while publishing the release:\n\n", err)
} else {
console.log("Release published successfully: ", release.html_url)
}