Skip to content

Commit aff0254

Browse files
committed
Pretty print artifact on publishing
1 parent 8d6bbf5 commit aff0254

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit d03d71f6b41b14b228fe8ad782b32800dcb9b6f0

libs/javalib/src/mill/javalib/publish/LocalIvyPublisher.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ class LocalIvyPublisher(localIvyRepo: os.Path) {
3939
artifact: Artifact,
4040
contents: Map[os.SubPath, FileSetContents.Writable]
4141
)(implicit ctx: TaskCtx.Log): Seq[os.Path] = {
42-
ctx.log.info(s"Publishing ${artifact} to ivy repo ${localIvyRepo}")
42+
ctx.log.info(
43+
s"Publishing ${artifact.group}:${artifact.id}:${artifact.version} to ivy repo ${localIvyRepo}"
44+
)
4345
val releaseDir = localIvyRepo / artifact.group / artifact.id / artifact.version
4446
FileSetContents.writeTo(releaseDir, contents)
4547
}

0 commit comments

Comments
 (0)