You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to publish a file without directives, scala-cli shows the following message:
The `publish-local` sub-command is experimental.
Please bear in mind that non-ideal user experience should be expected.
If you encounter any bugs or have feedback to share, make sure to reach out to the maintenance team at https://github.com/VirtusLab/scala-cli
Using directive publish.name not specified, using workspace directory name repro as default name
[error] Missing organization for publishing, specify one with --organization or with a '//> using publish.organization' directive
[error] Missing version for publishing, specify one with --version or with a '//> using publish.version' directive
However, if one adds the --organization and --version flags, scala-cli fails with:
Unrecognized argument: --version
To list all available options, run
[redacted] publish local --help
To Reproduce
scala-cli --power publish local test.sc and scala-cli --power publish local --organization my.org --version 0.0.1 test.sc on any test.sc file with no directives.
Expected behaviour
Either the --version flag should exist (although I admit that the name is quite overloaded) or the error message should not recommend it.
The text was updated successfully, but these errors were encountered:
Version(s)
1.0.4
Describe the bug
When trying to publish a file without directives, scala-cli shows the following message:
However, if one adds the
--organization
and--version
flags, scala-cli fails with:To Reproduce
scala-cli --power publish local test.sc
andscala-cli --power publish local --organization my.org --version 0.0.1 test.sc
on anytest.sc
file with no directives.Expected behaviour
Either the
--version
flag should exist (although I admit that the name is quite overloaded) or the error message should not recommend it.The text was updated successfully, but these errors were encountered: