Skip to content

Commit 570296b

Browse files
committed
Fix artifact git tag
1 parent 93330cb commit 570296b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ abstract class TeaConDumpPathToGitHub extends DefaultTask {
3333
outputFile << newLine << "artifact_name=${theFile.getName()}"
3434
outputFile << newLine << "artifact_publish_name=${publishName.get()}"
3535
outputFile << newLine << "artifact_path=${theFile.absolutePath}"
36-
outputFile << newLine << "artifact_git_tag=MC${minecraftVersion.get()}-${modVersion.get()}"
36+
outputFile << newLine << "artifact_git_tag=MC${String.join(".", minecraftVersion.get().split("\\.")[1..2])}-${modVersion.get()}"
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)