Skip to content

Commit 273e05b

Browse files
committed
standardize on amd64 artifact suffix
1 parent 6891d96 commit 273e05b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

dist/package.mill

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,13 @@ object `package` extends RootModule with InstallModule {
346346
else "linux"
347347
}
348348

349-
def artifactCpuSuffix = T { System.getProperty("os.arch") }
349+
def artifactCpuSuffix = T {
350+
System.getProperty("os.arch") match{
351+
case "x64" => "amd64"
352+
case s => s
353+
}
354+
}
355+
350356
def artifactName = s"${super.artifactName()}-${artifactOsSuffix()}-${artifactCpuSuffix()}"
351357

352358
def mainClass = Some("mill.runner.client.MillClientMain")

0 commit comments

Comments
 (0)