The cert and key command line should be -file (#586)

* The cert and key command line should be `-file`

* Update plugin_signing.md

Co-authored-by: Jakub Chrzanowski <jakub@chrzanowski.info>
This commit is contained in:
ZhangJian He 2021-12-01 17:19:14 +08:00 committed by GitHub
parent 95f7f999c7
commit efeb2a2aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,14 +193,14 @@ In the <control>Run/Debug Configuration</control> for `publishPlugin` Gradle tas
CLI tool is required if you don't rely on the Gradle IntelliJ Plugin i.e. when working with Themes. 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. 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 <path>zip-signer-cli.jar</path>, execute it as below: After downloading the <path>marketplace-zip-signer-cli.jar</path>, execute it as below:
```bash ```bash
java -jar zip-signer-cli.jar sign\ java -jar marketplace-zip-signer-cli.jar sign\
-in "unsigned.zip"\ -in "unsigned.zip"\
-out "signed.zip"\ -out "signed.zip"\
-cert "/path/to/chain.crt"\ -cert-file "/path/to/chain.crt"\
-key "/path/to/private.pem"\ -key-file "/path/to/private.pem"\
-key-pass "PRIVATE_KEY_PASSWORD" -key-pass "PRIVATE_KEY_PASSWORD"
``` ```