Skip to content

Commit

Permalink
Actually fix local suffix appender.
Browse files Browse the repository at this point in the history
I am a fool.
  • Loading branch information
LambdAurora committed Oct 29, 2022
1 parent 054f25b commit 32b7d96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ group = project.maven_group
version = "${project.mod_version}+${getMCVersionString()}"
archivesBaseName = project.archives_base_name

if (!(System.getenv("CURSEFORGE_TOKEN") || !(System.getenv("MODRINTH_TOKEN")))) {
if (!(System.getenv("CURSEFORGE_TOKEN") && !(System.getenv("MODRINTH_TOKEN")))) {
version += "-local"
}
logger.lifecycle("Preparing version ${version}...")

boolean isMCVersionNonRelease() {
return MINECRAFT_VERSION.matches('^\\d\\dw\\d\\d[a-z]$')
Expand Down

0 comments on commit 32b7d96

Please sign in to comment.