Skip to content

Commit

Permalink
fix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Sep 3, 2024
1 parent a55854d commit f30b24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ subprojects {

// Trim -build.X+mcX.XX.X from version string
//val createFabricVersion: String = Regex("(\\d+\\.\\d+\\.\\d+-\\w)").find("create_fabric_version"())?.value.toString()
val createForgeVersion = if (isRelease) "create_forge_version"().split("-")[0] else "create_forge_version"()
val createForgeVersion = if (isRelease || buildNumber != null) "create_forge_version"().split("-")[0] else "create_forge_version"()

// set up properties for filling into metadata
val properties = mapOf(
Expand Down

0 comments on commit f30b24c

Please sign in to comment.