Skip to content

Commit d64ec8b

Browse files
Merge dashpay#5891: fix: adjust verify-binaries script to properly handle RCs
39db1fb fix: adjust verify-binaries script to properly handle RCs (pasta) Pull request description: ## What was done? Adjusted verify.py to properly handle RC ## How Has This Been Tested? Ran verify on both 20.0.4 and 20.1.0-rc.1 ## Breaking Changes None ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone Top commit has no ACKs. Tree-SHA512: 894261004fb89588c8c01c67a95dd999a03657dc68895af566c8dd98deb82fbc5b5847382b052eb5a28284aba810052a5ee8d21ad3efeb9af6557302759a6e35
2 parents d686dc2 + 39db1fb commit d64ec8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

contrib/verifybinaries/verify.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ def main(args):
9393

9494
# determine remote dir dependent on provided version string
9595
version_base, version_rc, os_filter = parse_version_string(args[0])
96-
remote_dir = f"{VERSIONPREFIX}{version_base}/"
97-
if version_rc:
98-
remote_dir += f"test.{version_rc}/"
96+
remote_dir = f"{VERSIONPREFIX}{version_base}{f'-{version_rc}' if version_rc else ''}/"
9997
remote_sigfile = remote_dir + SIGNATUREFILENAME
10098

10199
# create working directory

0 commit comments

Comments
 (0)