Fix release

This commit is contained in:
modmuss50 2021-11-16 19:18:58 +00:00
parent 80db5db266
commit 216c649428

View file

@ -373,7 +373,7 @@ task github(dependsOn: remapMavenJar) {
releaseBuilder.name("[$project.minecraft_version] Fabric API $project.version")
releaseBuilder.body(ENV.CHANGELOG ?: "No changelog provided")
releaseBuilder.commitish(getBranch())
releaseBuilder.prerelease(project.prerelease)
releaseBuilder.prerelease(project.prerelease as Boolean)
def ghRelease = releaseBuilder.create()
ghRelease.uploadAsset(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar"), "application/java-archive");