Skip to content

Commit

Permalink
fix: πŸ› Fix core dep version
Browse files Browse the repository at this point in the history
  • Loading branch information
P3pp3rF1y committed Sep 16, 2023
1 parent c7d3161 commit fe6998f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ tasks.withType(ProcessResources).configureEach {
loader_version_range: loader_version_range,
mod_id : mod_id, mod_version: mod_version,
mod_full_version : "${project.mod_version}.${getBuildNumber()}${getStable()}",
sc_version : sc_version.substring(sc_version.indexOf("-") + 1, sc_version.lastIndexOf('.'))
sc_version : sc_version.substring(sc_version.indexOf("-") + 1, sc_version.lastIndexOf(',')) + ".+"
]
inputs.properties replaceProperties

Expand All @@ -164,7 +164,7 @@ static def getBuildNumber() {
}

static def getStable() {
if ((System.getenv("GITHUB_REF") == null || System.getenv("GITHUB_REF").endsWith("-dev"))) {
if (System.getenv("GITHUB_REF") == null || System.getenv("GITHUB_REF").endsWith("-dev")) {
return "-SNAPSHOT"
}
return ""
Expand Down

0 comments on commit fe6998f

Please sign in to comment.