Skip to content

Commit

Permalink
Check explicitly for 1 in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
williewillus committed Jun 12, 2023
1 parent dd80ecb commit 59d3569
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

version = "${mc_version}-${build_number}-FABRIC"
if (System.getenv().RELEASE_MODE == null) {
if (System.getenv().RELEASE_MODE != "1") {
version += '-SNAPSHOT'
}

Expand Down
2 changes: 1 addition & 1 deletion Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'eclipse'
apply plugin: 'org.spongepowered.mixin'

version = "${mc_version}-${build_number}-FORGE"
if (System.getenv().RELEASE_MODE == null) {
if (System.getenv().RELEASE_MODE != "1") {
version += '-SNAPSHOT'
}

Expand Down

0 comments on commit 59d3569

Please sign in to comment.