Skip to content

Commit

Permalink
Fix wrong jar being published for Forge
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed Feb 8, 2025
1 parent b75fffe commit c4d7365
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.5.4
Fix wrong jar being published for Forge

# 1.5.3
- Unlink users on leave
- Update Dependencies
Expand Down
4 changes: 2 additions & 2 deletions forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ publishMods {
curseforge("curseForge") {
from(curseforgePublish)
modLoaders.add(project.name)
file.set(tasks.jar.get().archiveFile)
file.set(tasks.named<Jar>("reobfJar").get().archiveFile)
additionalFiles.plus(tasks.sourcesJar.get().archiveFile)
displayName = "$modName $version ${titles[project.name]} $minecraftVersion"
this.version = "$version-mc$minecraftVersion-${project.name}"
Expand All @@ -90,7 +90,7 @@ publishMods {
modrinth("modrinthForge") {
from(modrinthPublish)
modLoaders.add(project.name)
file.set(tasks.jar.get().archiveFile)
file.set(tasks.named<Jar>("reobfJar").get().archiveFile)
additionalFiles.plus(tasks.sourcesJar.get().archiveFile)
displayName = "$modName $version ${titles[project.name]} $minecraftVersion"
this.version = "$version-mc$minecraftVersion-${project.name}"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xmx3G -XX:ThreadStackSize=4096 -XX:CompilerThreadStackSize=4
# Minecraft things
enabledPlatforms=fabric,neoforge

version=1.5.3
version=1.5.4
group=dev.erdragh.astralbot
modName=AstralBot
modId=astralbot
Expand Down

0 comments on commit c4d7365

Please sign in to comment.