diff --git a/website/docs/_advanced_install.mdx b/website/docs/_advanced_install.mdx index 8b33ab982c..57def4b36e 100644 --- a/website/docs/_advanced_install.mdx +++ b/website/docs/_advanced_install.mdx @@ -69,7 +69,7 @@ scala-cli version Scala CLI can be installed via [apt](https://wiki.debian.org/Apt) packager tool. ```bash -curl -s --compressed "https://virtuslab.github.io/scala-cli-packages/KEY.gpg" | sudo apt-key add - +curl -sS "https://virtuslab.github.io/scala-cli-packages/KEY.gpg" | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/scala-cli.gpg 2>/dev/null sudo curl -s --compressed -o /etc/apt/sources.list.d/scala_cli_packages.list "https://virtuslab.github.io/scala-cli-packages/debian/scala_cli_packages.list" sudo apt update sudo apt install scala-cli diff --git a/website/docs/commands/compile.md b/website/docs/commands/compile.md index 0fd1b08c4f..5fe5d881be 100644 --- a/website/docs/commands/compile.md +++ b/website/docs/commands/compile.md @@ -489,11 +489,11 @@ For example, to exclude all files in the `example/scala` directory, add the foll Compile-only dependencies, allow to include certain libraries exclusively at the time of the compilation. These dependencies are added to the class path during compilation, but won't be included when the application is run. -To declare a compile-only dependency, you should use the `compileOnly.lib` directive or `--compile-lib` command line +To declare a compile-only dependency, you should use the `compileOnly.dep` directive or `--compile-lib` command line option. For instance, to include the `jsoniter-scala-macros` library at compile-time, you would use: ```scala title=CompileOnly.scala -//> using compileOnly.lib "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2" +//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2" ``` or by using the `--compile-lib` command line option: diff --git a/website/docs/release_notes.md b/website/docs/release_notes.md index 42685b9539..670be4ffd0 100644 --- a/website/docs/release_notes.md +++ b/website/docs/release_notes.md @@ -61,6 +61,13 @@ Whenever overwriting existing Java properties Scala CLI will let you know what w Added by [@lwronski](https://github.com/lwronski) in [#2317](https://github.com/VirtusLab/scala-cli/pull/2317), Thanks! +## Rename parameter for `publish` command + +We've updated the `--version` parameter for the publish command. Now, when specifying the project version, use `--project-version` instead. + +```bash ignore +scala-cli publish --project-version 1.0.3 ... +``` ## Other changes * Add custom exception and throw it when node not found in the path by [@lwronski](https://github.com/lwronski) in [#2323](https://github.com/VirtusLab/scala-cli/pull/2323)