Skip to content

Commit 7b3340b

Browse files
committed
build: update CF publishing
1 parent b4e4a07 commit 7b3340b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

fabric/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@ if (ENV.CURSEFORGE_KEY) {
7575
apiKey = ENV.CURSEFORGE_KEY
7676
project {
7777
id = project.curseforge_id_fabric
78-
releaseType = project.curseforge_type
78+
releaseType = ftbPublishing.relType
7979
addGameVersion "Fabric"
80-
addGameVersion "1.19.2"
81-
mainArtifact(remapJar.archivePath)
80+
addGameVersion project.minecraft_version
81+
mainArtifact(remapJar.archiveFile)
8282
relations {
8383
requiredDependency 'architectury-api'
8484
requiredDependency 'fabric-api'
8585
requiredDependency 'ftb-library-fabric'
8686
}
87-
changelog = getGitChangelog
87+
changelog = ENV.CHANGELOG // expected to exist if ENV.CURSEFORGE does
8888
changelogType = 'markdown'
8989
}
9090
}

forge/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ if (ENV.CURSEFORGE_KEY) {
9292
apiKey = ENV.CURSEFORGE_KEY
9393
project {
9494
id = project.curseforge_id_forge
95-
releaseType = project.curseforge_type
95+
releaseType = ftbPublishing.relType
9696
addGameVersion "Forge"
97-
addGameVersion "1.19.2"
98-
mainArtifact(remapJar.archivePath)
97+
addGameVersion project.minecraft_version
98+
mainArtifact(remapJar.archiveFile)
9999
relations {
100100
requiredDependency 'architectury-api'
101101
requiredDependency 'ftb-library-forge'
102102
}
103-
changelog = getGitChangelog
103+
changelog = ENV.CHANGELOG // expected to exist if ENV.CURSEFORGE does
104104
changelogType = 'markdown'
105105
}
106106
}

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ include("common")
1010
include("fabric")
1111
include("forge")
1212

13-
rootProject.name = 'FTB-Ranks-1.20'
13+
rootProject.name = 'FTB-Ranks-1.20.1'

0 commit comments

Comments
 (0)