Skip to content

Commit 2f01ebd

Browse files
committed
Fix a bug in choosing between snapshot and release uri
1 parent f08e1b8 commit 2f01ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/javalib/src/mill/javalib/MavenPublish.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private[mill] trait MavenPublish {
5555
log: Logger,
5656
worker: InternalMavenWorkerSupport.Api
5757
): Unit = {
58-
val uri = if (isSnapshot) releaseUri else snapshotUri
58+
val uri = if (isSnapshot) snapshotUri else releaseUri
5959
val artifacts = MavenWorkerSupport.RemoteM2Publisher.asM2ArtifactsFromPublishDatas(
6060
publishData.meta,
6161
publishData.payloadAsMap

0 commit comments

Comments
 (0)