mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-15 15:23:13 +00:00
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 @@ buildscript {
|
||||
|
||||
plugins {
|
||||
id 'com.matthewprenger.cursegradle' version '1.0.10'
|
||||
id "com.github.breadmoirai.github-release" version "2.2.4"
|
||||
}
|
||||
|
||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||
@ -287,6 +288,20 @@ uploadArchives {
|
||||
}
|
||||
}
|
||||
|
||||
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 {
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
|
Loading…
x
Reference in New Issue
Block a user