github-release-gradle-plugin icon indicating copy to clipboard operation
github-release-gradle-plugin copied to clipboard

Calling `setReleaseAssets ` function on the `GithubReleaseTask` causes build to fail.

Open abhishekdewan101 opened this issue 2 years ago • 0 comments

In our app we are trying to set the release assets using the setReleaseAssets function call on the GithubReleaseTask prior to running the task. We do this using the following way:

image

where GH_RELEASE_TASK_NAME = "githubRelease"

When this code runs we are seeing the task fail with the following error

image

Are we not suppose to use this api in this way? Is there a way to set the release asset not during the configuration phase ?

abhishekdewan101 avatar Jun 15 '22 21:06 abhishekdewan101