Publish jar files to GH too
I'm not sure if I'll keep this, as it's a little redundant. We're on an older version of the plugin, as 2.2.7 seems to fail for me. Closes #165.
This commit is contained in:
parent
6be330ae8d
commit
4205f18f0c
15
build.gradle
15
build.gradle
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.matthewprenger.cursegradle' version '1.0.10'
|
id 'com.matthewprenger.cursegradle' version '1.0.10'
|
||||||
|
id "com.github.breadmoirai.github-release" version "2.2.4"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
@ -287,6 +288,20 @@ task compressJson(dependsOn: extractAnnotationsJar) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
githubRelease {
|
||||||
|
token project.hasProperty('githubApiKey') ? project.githubApiKey : ''
|
||||||
|
owner 'SquidDev-CC'
|
||||||
|
repo 'CC-Tweaked'
|
||||||
|
targetCommitish (mc_version == "1.12.2" ? "master" : mc_version)
|
||||||
|
|
||||||
|
tagName "v${mc_version}-${mod_version}"
|
||||||
|
releaseName "[${mc_version}] ${mod_version}"
|
||||||
|
body ''
|
||||||
|
prerelease false
|
||||||
|
|
||||||
|
releaseAssets.from(jar.archivePath)
|
||||||
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
testLogging {
|
testLogging {
|
||||||
|
|
Loading…
Reference in New Issue