Skip to content

Commit

Permalink
i fixed it :D
Browse files Browse the repository at this point in the history
  • Loading branch information
AnAwesomGuy committed Sep 19, 2024
1 parent 392453f commit 05490cd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

architectury.minecraft = minecraft_version

version = mod_version + "+" + minecraft_version
version = (mod_version + "+" + minecraft_version)

import groovy.json.JsonSlurper
import groovy.json.JsonOutput
Expand Down Expand Up @@ -78,6 +78,7 @@ allprojects {
}

publishMods {
version = project.version
changelog = project.changelog
type = STABLE
def fabricJar = project.provider { project(":fabric").remapJar }.flatMap { it.archiveFile }
Expand All @@ -89,20 +90,20 @@ publishMods {
def fabric = publishOptions {
file = fabricJar
additionalFiles.from forgeSources
displayName = "[Fabric 1.16-1.20.4] $display_name $version"
displayName = "[Fabric 1.16-1.20.4] $display_name $project.version"
modLoaders.addAll "fabric", "quilt"
}

def forge = publishOptions {
file = forgeJar
additionalFiles.from fabricSources
displayName = "[Forge 1.17-1.20.4] $display_name $version"
displayName = "[Forge 1.17-1.20.4] $display_name $project.version"
modLoaders.add "forge"
}

def neo = publishOptions {
file = neoJar
displayName = "[NeoForge 1.20.2-.4] $display_name $version"
displayName = "[NeoForge 1.20.2-.4] $display_name $project.mod_version+1.20.4"
modLoaders.add "neoforge"
}

Expand Down Expand Up @@ -175,6 +176,6 @@ publishMods {
dryRun = !accessToken.present
repository = github
commitish = "16-20.5"
tagName = "release/" + version
tagName = project.version
}
}

0 comments on commit 05490cd

Please sign in to comment.