Skip to content

Commit

Permalink
Fixed bug in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
OakLoaf committed Oct 17, 2024
1 parent 3e0818e commit 00138d5
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 @@ -125,7 +125,7 @@ publishing {
modrinth {
token.set(System.getenv("MODRINTH_TOKEN"))
projectId.set("IBSpJfbm")
if (System.getenv("RELEASE_TYPE").equals("release")) {
if (System.getenv("RELEASE_TYPE") == "release") {
versionNumber.set(rootProject.version.toString())
} else {
versionNumber.set(rootProject.version.toString() + "-" + getCurrentCommitHash())
Expand Down

0 comments on commit 00138d5

Please sign in to comment.