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
80
80
scala-cli --power config --create-pgp-key --pgp-password MY_CHOSEN_PASSWORD
81
81
```
82
82
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
88
84
``` bash
89
85
scala-cli --power config pgp.public-key
90
86
scala-cli --power config pgp.secret-key
91
- scala-cli --power config pgp.secret-key-password
92
87
```
93
88
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
+
94
97
### Sonatype credentials
95
98
96
99
Publishing 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