plugin_signing.md: formatting

This commit is contained in:
Yann Cébron 2021-09-23 17:46:43 +02:00
parent d058a5f595
commit 8ad10160d4

View File

@ -44,7 +44,7 @@ Both methods require a private certificate key to be already present.
### Generate Private Key
To generate an RSA `private.pem` private key, run the `openssl genpkey` command in the terminal, as below:
To generate an RSA <path>private.pem</path> private key, run the `openssl genpkey` command in the terminal, as below:
```bash
openssl genpkey\
@ -54,10 +54,10 @@ openssl genpkey\
-pkeyopt rsa_keygen_bits:4096
```
At this point, the generated `private.pem` content should be provided to the `signPlugin.privateKey` property.
At this point, the generated <path>private.pem</path> content should be provided to the `signPlugin.privateKey` property.
Provided password should be specified as the `signPlugin.password` property in the `signPlugin` configuration.
As a next step, we'll generate a `chain.crt` certificate chain with:
As a next step, we'll generate a <path>chain.crt</path> certificate chain with:
```bash
openssl req\
@ -68,7 +68,7 @@ openssl req\
-out chain.crt
```
The content of the `chain.crt` file will be used for the `signPlugin.certificateChain` property.
The content of the <path>chain.crt</path> file will be used for the `signPlugin.certificateChain` property.
### Gradle IntelliJ Plugin
@ -184,7 +184,7 @@ publishPlugin {
</tab>
</tabs>
In the _Run/Debug Configuration_ for `publishPlugin` Gradle task, provide _Environment Variables_ using relevant environment variable names:
In the <control>Run/Debug Configuration</control> for `publishPlugin` Gradle task, provide <control>Environment Variables</control> using relevant environment variable names:
![Run/Debug Configuration Environment Variables](plugin_singing_env_variables.png)
@ -193,7 +193,7 @@ In the _Run/Debug Configuration_ for `publishPlugin` Gradle task, provide _Envir
CLI tool is required if you don't rely on the Gradle IntelliJ Plugin i.e. when working with Themes.
To get the latest Marketplace ZIP Signer CLI Tool, visit the [JetBrains/marketplace-zip-signer](https://github.com/JetBrains/marketplace-zip-signer/releases) GitHub Releases page.
After downloading the `zip-signer-cli.jar`, execute it as below:
After downloading the <path>zip-signer-cli.jar</path>, execute it as below:
```bash
java -jar zip-signer-cli.jar sign\