Auto Upload
This commit is contained in:
parent
782203b046
commit
a140996243
3 changed files with 22 additions and 1 deletions
|
@ -4,5 +4,6 @@ before_script:
|
|||
build:
|
||||
script:
|
||||
- ./gradlew build
|
||||
- ./gradlew curseforge285509
|
||||
only:
|
||||
- web
|
||||
|
|
18
build.gradle
18
build.gradle
|
@ -11,6 +11,10 @@ buildscript {
|
|||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.matthewprenger.cursegradle' version '1.2.0'
|
||||
}
|
||||
|
||||
apply plugin: "net.minecraftforge.gradle.forge"
|
||||
|
||||
version = modVersion
|
||||
|
@ -89,3 +93,17 @@ processResources {
|
|||
exclude "mcmod.info"
|
||||
}
|
||||
}
|
||||
|
||||
curseforge {
|
||||
apiKey = "$apiToken"
|
||||
project {
|
||||
id = "$projectID"
|
||||
changelog = file('changelog.txt')
|
||||
releaseType = "beta"
|
||||
addGameVersion '1.12.2'
|
||||
|
||||
mainArtifact(jar) {
|
||||
displayName = "Infinity Craft $modVersion"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,4 +3,6 @@ modVersion=1.4
|
|||
modBaseName=infinity
|
||||
forgeVersion=1.12.2-14.23.5.2814
|
||||
mcpVersion=stable_39
|
||||
core_version=d406868225
|
||||
core_version=d406868225
|
||||
apiToken=0
|
||||
projectID=285509
|
Loading…
Reference in a new issue