Skip to content

Commit 390be6b

Browse files
Copilotswissspidy
andcommitted
Use generic version placeholders in verification examples
Co-authored-by: swissspidy <[email protected]>
1 parent c3a7dd0 commit 390be6b

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

guides/verifying-downloads.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ This method provides the strongest security as it verifies both the integrity an
2222
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar.asc
2323
```
2424

25-
For a specific version release (e.g., v2.12.0), download from GitHub releases:
25+
For a specific version release, download from GitHub releases (replace `X.X.X` with the desired version):
26+
27+
```bash
28+
curl -LO https://github.com/wp-cli/wp-cli/releases/download/vX.X.X/wp-cli-X.X.X.phar
29+
curl -LO https://github.com/wp-cli/wp-cli/releases/download/vX.X.X/wp-cli-X.X.X.phar.asc
30+
```
31+
32+
For example, to download version 2.12.0:
2633

2734
```bash
2835
curl -LO https://github.com/wp-cli/wp-cli/releases/download/v2.12.0/wp-cli-2.12.0.phar
@@ -72,10 +79,10 @@ For a specific version:
7279
gpg --verify wp-cli-2.12.0.phar.asc wp-cli-2.12.0.phar
7380
```
7481

75-
If the signature is valid, you'll see output like:
82+
If the signature is valid, you'll see output similar to:
7683

7784
```
78-
gpg: Signature made Wed May 7 02:26:41 2025 UTC
85+
gpg: Signature made {DATE}
7986
gpg: using RSA key 63AF7AA15067C05616FDDD88A3A2E8F226F0BC06
8087
gpg: Good signature from "WP-CLI Releases <[email protected]>" [unknown]
8188
```
@@ -100,10 +107,10 @@ Download the SHA-512 checksum file:
100107
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar.sha512
101108
```
102109

103-
Or for a specific release:
110+
Or for a specific release (replace `X.X.X` with your version):
104111

105112
```bash
106-
curl -LO https://github.com/wp-cli/wp-cli/releases/download/v2.12.0/wp-cli-2.12.0.phar.sha512
113+
curl -LO https://github.com/wp-cli/wp-cli/releases/download/vX.X.X/wp-cli-X.X.X.phar.sha512
107114
```
108115

109116
Verify the checksum by comparing the output:
@@ -123,10 +130,10 @@ Download the SHA-256 checksum file:
123130
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar.sha256
124131
```
125132

126-
Or for a specific release:
133+
Or for a specific release (replace `X.X.X` with your version):
127134

128135
```bash
129-
curl -LO https://github.com/wp-cli/wp-cli/releases/download/v2.12.0/wp-cli-2.12.0.phar.sha256
136+
curl -LO https://github.com/wp-cli/wp-cli/releases/download/vX.X.X/wp-cli-X.X.X.phar.sha256
130137
```
131138

132139
Verify the checksum by comparing the output:

0 commit comments

Comments
 (0)