We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e04d08 commit 868e733Copy full SHA for 868e733
modules/cli/src/main/scala/scala/cli/commands/publish/Publish.scala
@@ -381,7 +381,7 @@ object Publish extends ScalaCommand[PublishOptions] with BuildCommandHelpers {
381
if (mayDefaultToGitTag) Some(ComputeVersion.GitTag(os.rel, dynVer = false, positions = Nil))
382
else None
383
def defaultVersionError =
384
- new MissingPublishOptionError("version", "--version", "publish.version")
+ new MissingPublishOptionError("version", "--project-version", "publish.version")
385
def defaultVersion: Either[BuildException, String] =
386
Left(defaultVersionError)
387
0 commit comments