fun createRelease(tagName: String, targetCommitish: String? = null, name: String? = null, body: String? = null, draft: Boolean = false, prerelease: Boolean = false): JsonObject
Creates a github release with the tag tagName.
targetCommitish - the commitish value that determines where the Git tag is created from
name - the title displayed together with the body
body - a description of the release
draft - if set to true, the release is only a drafting stage
prerelease - if set to true, the release is only in alpha or beta stage, not a final release
Return
the JSON object that should be sent to the GitHub API