gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.github / GithubReleasesClient / uploadReleaseAsset

uploadReleaseAsset

fun uploadReleaseAsset(releaseId: Int, file: File, contentType: String, name: String? = null, label: String? = null): JsonObject

Upload a release asset file to the release releaseId. name is the (optional) new name of the uploaded file. label is an (optional) short description for the asset.