This PR allows a user to run:
0./gitian-build.py --setup
without unused signer
and version
options.
In master the signer
and version
options are mandatory. This implies the following code is dead:
https://github.com/bitcoin/bitcoin/blob/387eb5b34307448f16d3769ac0245c4e3d996a38/contrib/gitian-build.py#L192-L200
This PR fixes those lines of code.
Also this PR has a nice side effect: there is no more warnings about macOS build during processing --setup
command. Ref: #13998 (comment)
Note: https://github.com/bitcoin-core/docs/blob/master/gitian-building.md will be updated when this PR is merged.