[CHORE] Final preparations for release
This commit is contained in:
@@ -17,8 +17,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("Prepare") {
|
stage("Prepare") {
|
||||||
steps {
|
steps {
|
||||||
sh "curl https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md --output changelog-forge.md"
|
|
||||||
sh "curl https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md --output changelog-fabric.md"
|
|
||||||
sh "chmod +x ./gradlew"
|
sh "chmod +x ./gradlew"
|
||||||
sh "./gradlew clean"
|
sh "./gradlew clean"
|
||||||
}
|
}
|
||||||
|
@@ -51,12 +51,12 @@ pipeline {
|
|||||||
projectSlug: "craterlib",
|
projectSlug: "craterlib",
|
||||||
projectName: "${projectName}",
|
projectName: "${projectName}",
|
||||||
projectIcon: "${projectIcon}",
|
projectIcon: "${projectIcon}",
|
||||||
versionName: "Snapshot 3.0.${BUILD_NUMBER}",
|
versionName: "Snapshot 1.0.${BUILD_NUMBER}",
|
||||||
version: "3.0.${BUILD_NUMBER}",
|
version: "1.0.${BUILD_NUMBER}",
|
||||||
modLoaders: "forge|neoforge|fabric|quilt",
|
modLoaders: "forge|neoforge|fabric|quilt",
|
||||||
minecraftVersions: "1.20.2",
|
minecraftVersions: "1.20.2",
|
||||||
failWebhook: env.SSS_WEBHOOK,
|
failWebhook: env.SSS_WEBHOOK,
|
||||||
publishWebhooks: env.SSS_WEBHOOK
|
publishWebhooks: "${env.SSS_WEBHOOK}|${env.FDD_WH}"
|
||||||
|
|
||||||
deleteDir()
|
deleteDir()
|
||||||
}
|
}
|
||||||
|
@@ -113,7 +113,7 @@ publisher {
|
|||||||
curseID = curse_id
|
curseID = curse_id
|
||||||
modrinthID = modrinth_id
|
modrinthID = modrinth_id
|
||||||
versionType = "release"
|
versionType = "release"
|
||||||
changelog = rootProject.file("changelog-fabric.md")
|
changelog = "https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md"
|
||||||
version = "${minecraft_version}-${project.version}"
|
version = "${minecraft_version}-${project.version}"
|
||||||
displayName = "[FABRIC/QUILT 1.20.2] CraterLib - ${project.version}"
|
displayName = "[FABRIC/QUILT 1.20.2] CraterLib - ${project.version}"
|
||||||
gameVersions = ["1.20.2"]
|
gameVersions = ["1.20.2"]
|
||||||
@@ -127,7 +127,4 @@ publisher {
|
|||||||
curseDepends {
|
curseDepends {
|
||||||
required = ["fabric-api"]
|
required = ["fabric-api"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publishCurseforge.dependsOn(remapJar)
|
|
||||||
publishModrinth.dependsOn(remapJar)
|
|
@@ -107,13 +107,10 @@ publisher {
|
|||||||
curseID = curse_id
|
curseID = curse_id
|
||||||
modrinthID = modrinth_id
|
modrinthID = modrinth_id
|
||||||
versionType = "release"
|
versionType = "release"
|
||||||
changelog = rootProject.file("changelog-forge.md")
|
changelog = "https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md"
|
||||||
version = "${minecraft_version}-${project.version}"
|
version = "${minecraft_version}-${project.version}"
|
||||||
displayName = "[FORGE 1.20.2] CraterLib - ${project.version}"
|
displayName = "[FORGE 1.20.2] CraterLib - ${project.version}"
|
||||||
gameVersions = ["1.20.2"]
|
gameVersions = ["1.20.2"]
|
||||||
loaders = ["forge"]
|
loaders = ["forge"]
|
||||||
artifact = remapJar
|
artifact = remapJar
|
||||||
}
|
}
|
||||||
|
|
||||||
publishCurseforge.dependsOn(remapJar)
|
|
||||||
publishModrinth.dependsOn(remapJar)
|
|
@@ -98,7 +98,7 @@ publishing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publisher {
|
/*publisher {
|
||||||
apiKeys {
|
apiKeys {
|
||||||
modrinth = System.getenv("MODRINTH_TOKEN")
|
modrinth = System.getenv("MODRINTH_TOKEN")
|
||||||
curseforge = System.getenv("CURSE_TOKEN")
|
curseforge = System.getenv("CURSE_TOKEN")
|
||||||
@@ -116,4 +116,4 @@ publisher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
publishCurseforge.dependsOn(remapJar)
|
publishCurseforge.dependsOn(remapJar)
|
||||||
publishModrinth.dependsOn(remapJar)
|
publishModrinth.dependsOn(remapJar)*/
|
13
build.gradle
13
build.gradle
@@ -2,21 +2,10 @@ plugins {
|
|||||||
id 'java'
|
id 'java'
|
||||||
id 'com.github.johnrengelman.shadow' version '8.0.0' apply false
|
id 'com.github.johnrengelman.shadow' version '8.0.0' apply false
|
||||||
id "xyz.wagyourtail.unimined" version "1.1.0-SNAPSHOT" apply false
|
id "xyz.wagyourtail.unimined" version "1.1.0-SNAPSHOT" apply false
|
||||||
id "me.hypherionmc.modutils.modpublisher" version "1.0.+"
|
id "me.hypherionmc.modutils.modpublisher" version "1.0.23+"
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
//id 'com.matyrobbrt.mc.registrationutils' version '1.20.1-1.0.0'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Reg Utils
|
|
||||||
/*registrationUtils {
|
|
||||||
group 'com.hypherionmc.craterlib.core.systems.reg'
|
|
||||||
projects {
|
|
||||||
Common { type 'common'; project ':Common' }
|
|
||||||
Fabric { type 'fabric'; project ':Fabric' }
|
|
||||||
Forge { type 'forge'; project ':Forge' }
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
release=project.properties['release'] ?: false
|
release=project.properties['release'] ?: false
|
||||||
}
|
}
|
||||||
|
@@ -12,5 +12,4 @@ pluginManagement {
|
|||||||
|
|
||||||
rootProject.name = 'CraterLib'
|
rootProject.name = 'CraterLib'
|
||||||
include("Common", "Fabric", "Forge")
|
include("Common", "Fabric", "Forge")
|
||||||
include 'NeoForge'
|
include 'NeoForge'
|
||||||
|
|
Reference in New Issue
Block a user