Skip to content

Commit 548f735

Browse files
committed
Prepublish changes
1 parent b9e8928 commit 548f735

File tree

4 files changed

+30
-27
lines changed

4 files changed

+30
-27
lines changed

build.gradle

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ allprojects {
9494
publishMods {
9595
def TOKENS = new HashMap<String, String>();
9696
def envFile = file("$projectDir/.env");
97+
9798
if (envFile.exists())
9899
envFile.readLines().each() {
99100
def (key, value) = it.tokenize('=')
@@ -108,7 +109,7 @@ publishMods {
108109
def fabricName = "Create: Pattern Schematics $mod_version Fabric $minecraft_version";
109110

110111
def forgeFile = project(":forge").tasks.named("remapJar").get().archiveFile;
111-
def fabricFile = project(":fabric").tasks.named("remapJar").get().archiveFile;
112+
// def fabricFile = project(":fabric").tasks.named("remapJar").get().archiveFile;
112113

113114
def forgeEmoji = "<:forge:1267784983771222088>";
114115
def fabricEmoji = "<:fabric:1267785013936783421>";
@@ -143,31 +144,31 @@ publishMods {
143144
requires("create")
144145
}
145146

146-
curseforge("fabricCF") {
147-
file = fabricFile
148-
displayName = fabricName
149-
projectId = "1072349"
150-
projectSlug = "create-pattern-schematics" // Required for discord webhook
151-
accessToken = TOKENS.get("CURSEFORGE_PUBLISH_TOKEN")
152-
minecraftVersions.add(minecraft_version)
153-
announcementTitle = "Curseforge download for $fabricEmoji"
154-
modLoaders.add("fabric")
155-
156-
javaVersions.add(JavaVersion.VERSION_17)
157-
clientRequired = true
158-
serverRequired = true
159-
requires("create-fabric", "fabric-api")
160-
}
161-
modrinth("fabricMR") {
162-
file = fabricFile
163-
displayName = fabricName
164-
projectId = "cpqKG67r"
165-
accessToken = TOKENS.get("MODRINTH_PUBLISH_TOKEN")
166-
minecraftVersions.add(minecraft_version)
167-
announcementTitle = "Modrinth download for $fabricEmoji"
168-
modLoaders.add("fabric")
169-
requires("create-fabric", "fabric-api")
170-
}
147+
// curseforge("fabricCF") {
148+
// file = fabricFile
149+
// displayName = fabricName
150+
// projectId = "1072349"
151+
// projectSlug = "create-pattern-schematics" // Required for discord webhook
152+
// accessToken = TOKENS.get("CURSEFORGE_PUBLISH_TOKEN")
153+
// minecraftVersions.add(minecraft_version)
154+
// announcementTitle = "Curseforge download for $fabricEmoji"
155+
// modLoaders.add("fabric")
156+
//
157+
// javaVersions.add(JavaVersion.VERSION_17)
158+
// clientRequired = true
159+
// serverRequired = true
160+
// requires("create-fabric", "fabric-api")
161+
// }
162+
// modrinth("fabricMR") {
163+
// file = fabricFile
164+
// displayName = fabricName
165+
// projectId = "cpqKG67r"
166+
// accessToken = TOKENS.get("MODRINTH_PUBLISH_TOKEN")
167+
// minecraftVersions.add(minecraft_version)
168+
// announcementTitle = "Modrinth download for $fabricEmoji"
169+
// modLoaders.add("fabric")
170+
// requires("create-fabric", "fabric-api")
171+
// }
171172

172173
discord("discordUniversal") {
173174
webhookUrl = TOKENS.get("DISCORD_WEBHOOK")
File renamed without changes.

changelog.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@
3232
- Chinese Localisation from TASC2 on github :D!
3333
1.20.1-1.1.18: |
3434
- LOLCATZ translation (Thanks @Chazbomb)
35+
1.20.1-1.2.0: |
36+
- Updated to work for the new Create 6.0.0!
3537
...

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ org.gradle.jvmargs = -Xmx2G
22

33
# Mod Info
44
archives_base_name = pattern_schematics
5-
mod_version = 1.1.18
5+
mod_version = 1.2.0
66
maven_group = com.cak.pattern_schematics
77

88
minecraft_version = 1.20.1

0 commit comments

Comments
 (0)