Skip to content

Commit 46a502f

Browse files
committed
Fixed the commit hash of VS
1 parent bd75e12 commit 46a502f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fabric/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ processResources {
5454
inputs.property "version", project.version
5555

5656
filesMatching("fabric.mod.json") {
57-
expand "version": project.version, "vs2_version": project.vs2_version
57+
expand "version": project.version, "vs2_version": project.vs2_version.contains("+") ? project.vs2_version.substring(0, project.vs2_version.indexOf("+")) : project.vs2_version
5858
}
5959
}
6060

forge/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ processResources {
6969
inputs.property "version", project.version
7070

7171
filesMatching("META-INF/mods.toml") {
72-
expand "version": project.version, "vs2_version": project.vs2_version
72+
expand "version": project.version, "vs2_version": project.vs2_version.contains("+") ? project.vs2_version.substring(0, project.vs2_version.indexOf("+")) : project.vs2_version
7373
}
7474
}
7575

0 commit comments

Comments
 (0)