mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 09:53:47 +01:00
contrib: fixup verifybinaries example docs
Followup to #27358, fixing up the example command docs.
This commit is contained in:
parent
663a89cfed
commit
e2e5683afe
@ -43,7 +43,7 @@ See the `Config` object for various options.
|
||||
Validate releases with default settings:
|
||||
```sh
|
||||
./contrib/verify-binaries/verify.py pub 22.0
|
||||
./contrib/verify-binaries/verify.py pub 22.0-rc2
|
||||
./contrib/verify-binaries/verify.py pub 22.0-rc3
|
||||
```
|
||||
|
||||
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:
|
||||
If you only want to download the binaries of certain platform, add the corresponding suffix, e.g.:
|
||||
|
||||
```sh
|
||||
./contrib/verify-binaries/verify.py pub 22.0-osx
|
||||
./contrib/verify-binaries/verify.py pub 22.0-rc2-win64
|
||||
./contrib/verify-binaries/verify.py pub 24.0.1-darwin
|
||||
./contrib/verify-binaries/verify.py pub 23.1-rc1-win64
|
||||
```
|
||||
|
||||
If you do not want to keep the downloaded binaries, specify the cleanup option.
|
||||
|
@ -97,7 +97,7 @@ def bool_from_env(key, default=False) -> bool:
|
||||
|
||||
|
||||
VERSION_FORMAT = "<major>.<minor>[.<patch>][-rc[0-9]][-platform]"
|
||||
VERSION_EXAMPLE = "22.0-x86_64 or 0.21.0-rc2-osx"
|
||||
VERSION_EXAMPLE = "22.0-x86_64 or 23.1-rc1-darwin"
|
||||
|
||||
def parse_version_string(version_str):
|
||||
parts = version_str.split('-')
|
||||
|
Loading…
Reference in New Issue
Block a user