Skip to content

Commit e2e5683

Browse files
committed
contrib: fixup verifybinaries example docs
Followup to #27358, fixing up the example command docs.
1 parent 663a89c commit e2e5683

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contrib/verify-binaries/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ See the `Config` object for various options.
4343
Validate releases with default settings:
4444
```sh
4545
./contrib/verify-binaries/verify.py pub 22.0
46-
./contrib/verify-binaries/verify.py pub 22.0-rc2
46+
./contrib/verify-binaries/verify.py pub 22.0-rc3
4747
```
4848

4949
Get JSON output and don't prompt for user input (no auto key import):
@@ -63,8 +63,8 @@ threshold of at least 10 trusted signatures:
6363
If you only want to download the binaries of certain platform, add the corresponding suffix, e.g.:
6464

6565
```sh
66-
./contrib/verify-binaries/verify.py pub 22.0-osx
67-
./contrib/verify-binaries/verify.py pub 22.0-rc2-win64
66+
./contrib/verify-binaries/verify.py pub 24.0.1-darwin
67+
./contrib/verify-binaries/verify.py pub 23.1-rc1-win64
6868
```
6969

7070
If you do not want to keep the downloaded binaries, specify the cleanup option.

contrib/verify-binaries/verify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def bool_from_env(key, default=False) -> bool:
9797

9898

9999
VERSION_FORMAT = "<major>.<minor>[.<patch>][-rc[0-9]][-platform]"
100-
VERSION_EXAMPLE = "22.0-x86_64 or 0.21.0-rc2-osx"
100+
VERSION_EXAMPLE = "22.0-x86_64 or 23.1-rc1-darwin"
101101

102102
def parse_version_string(version_str):
103103
parts = version_str.split('-')

0 commit comments

Comments
 (0)