Skip to content

Commit 0c7444b

Browse files
committed
fix: github tag version not used in jar versioning
1 parent 24e4ac8 commit 0c7444b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ processResources {
153153
}
154154
}
155155

156+
if (System.getenv('MOD_VERSION') != null) {
157+
props.put('mod_version', System.getenv('MOD_VERSION'))
158+
}
159+
156160
filesMatching(['META-INF/neoforge.mods.toml']) {
157161
expand props
158162
}

0 commit comments

Comments
 (0)