File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,10 @@ def millDownloadUrl = Task {
7070 s"${millDownloadPrefix()}/${millLastTag()}"
7171}
7272
73+ def millDownloadUrlCurrent = Task {
74+ s"${millDownloadPrefix()}/${millVersion()}"
75+ }
76+
7377def millBinPlatform: T[String] = Task {
7478 val tag = millLastTag()
7579 tag match {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ object `package` extends MillPublishScalaModule {
2020 val data: Seq[(os.SubPath, String)] =
2121 build.dist.examplePathsWithArtifactName().map { case (pathRef, str) =>
2222 val downloadUrl =
23- s"${build.millDownloadUrl ()}/$str.zip"
23+ s"${build.millDownloadUrlCurrent ()}/$str.zip"
2424 val subPath = pathRef.path.subRelativeTo(BuildCtx.workspaceRoot / "example")
2525 (subPath, downloadUrl)
2626 }
You can’t perform that action at this time.
0 commit comments