Skip to content

Commit 31fbad8

Browse files
authored
Fix version string of published artifacts (#3721)
1 parent 8e5c5ec commit 31fbad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.mill.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import build.ci.publishVersion
88
import build.project.deps
99
import deps.{Cli, Deps, Docker, InternalDeps, Java, Scala, TestDeps}
1010
import build.project.publish
11-
import publish.{ScalaCliPublishModule, ghName, ghOrg, organization}
11+
import publish.{ScalaCliPublishModule, finalPublishVersion, ghName, ghOrg, organization}
1212
import build.project.settings
1313
import settings.{
1414
CliLaunchers,
@@ -1344,7 +1344,7 @@ object `local-repo` extends LocalRepo {
13441344

13451345
// Helper CI commands
13461346
def publishSonatype(tasks: mill.main.Tasks[PublishModule.PublishData]) = Task.Command {
1347-
val pv = publishVersion()
1347+
val pv = finalPublishVersion()
13481348
System.err.println(s"Publish version: $pv")
13491349
val bundleName = s"$organization-$ghName-$pv"
13501350
System.err.println(s"Publishing bundle: $bundleName")

0 commit comments

Comments
 (0)