Skip to content

Commit

Permalink
fixing download url
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelsadlo committed Sep 27, 2024
1 parent 505c588 commit 7081e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.mill
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ object initmodule extends MillPublishScalaModule {

def exampleList: T[PathRef] = T {
val data:Seq[(os.SubPath,String)] = build.examplePathsWithArtifactName().map{ case (path,str) =>
val downloadUrl = build.Settings.projectUrl + "/releases/download/" + millVersion() + "/" + str + ".zip"
val downloadUrl = build.Settings.projectUrl + "/releases/download/" + millLastTag() + "/" + str + ".zip"
val subPath = path.subRelativeTo(T.workspace / "example")
(subPath,downloadUrl)
}
Expand Down

0 comments on commit 7081e4e

Please sign in to comment.