Open mduft opened 4 years ago
I have same for a case where a file was missing.
:githubRelease CANNOT UPLOAD version.txt with file size 0
This should fail the build IMO.
I absolutely agree, any upload failure should stop the build.
Perhaps it's the catch (Exception e) { e.printStackTrace(); }
on https://github.com/BreadMoirai/github-release-gradle-plugin/blob/master/src/main/groovy/com/github/breadmoirai/githubreleaseplugin/GithubReleaseTask.groovy#L138?
I just hit this in our new automated release process :)
Seems that an error from the server is not breaking the build as I would have expected it. It's not even easy for me to re-upload the asset(s) afterwards as the build & release is a Jenkins job...