Skip to content

Commit af864f1

Browse files
committed
[CI] Fix logging of pending mod version
1 parent e2e9e89 commit af864f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ tasks.create("getBuildInfo") {
3232
base {
3333
archivesName.set(mod_id)
3434
group = "dev.compactmods"
35-
version = if (isRelease) semver else nightlyVersion
35+
version = modVersion
3636
}
3737

38-
println("Mod ID: ${mod_id}");
39-
println("Version: ${version}");
38+
println("Mod ID: $mod_id");
39+
println("Version: $modVersion");
4040

4141
java {
4242
toolchain.languageVersion.set(JavaLanguageVersion.of(17))

0 commit comments

Comments
 (0)