Skip to content

Commit

Permalink
replace + from impl mod version with - to fix semver error
Browse files Browse the repository at this point in the history
  • Loading branch information
deirn committed May 27, 2021
1 parent 04ed08f commit 9d2f10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/impl.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!implFor.empty) {
zipTree(implFor.first()).matching { PatternFilterable filter ->
filter.include "fabric.mod.json"
}.each {
version = version + "+" + new JsonSlurper().parse(it)["version"]
version = version + "+" + (new JsonSlurper().parse(it)["version"] as String).replace('+', '-')
}
}

Expand Down

0 comments on commit 9d2f10b

Please sign in to comment.