File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
website/docs/commands/publishing Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -80,17 +80,20 @@ Generate a PGP key pair for publishing with
8080scala-cli --power config --create-pgp-key --pgp-password MY_CHOSEN_PASSWORD
8181```
8282
83- It's not mandatory, although recomended, to use a password to encrypt your keychains.
84- To store the private keychain in an unencrypted form use ` --pgp-password none ` .
85- To randomly generate a pasword, use ` --pgp-password random ` instead.
86-
87- This sets 3 entries in the Scala CLI configuration, that you can print with
83+ This sets 2 entries in the Scala CLI configuration, that you can print with
8884``` bash
8985scala-cli --power config pgp.public-key
9086scala-cli --power config pgp.secret-key
91- scala-cli --power config pgp.secret-key-password
9287```
9388
89+ It's not mandatory, although recommended, to use a password to encrypt your keychains.
90+ To store the private keychain in an unencrypted form use ` --pgp-password none ` .
91+ To randomly generate a password, use ` --pgp-password random ` instead.
92+
93+ ::: caution
94+ If a password is used, it should be kept safe, as it is needed to later decrypt and use the generated keychains.
95+ :::
96+
9497### Sonatype credentials
9598
9699Publishing to Maven Central requires a Sonatype account, and requesting the right to publish
You can’t perform that action at this time.
0 commit comments