<!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! Any report, issue or feature request related to the GUI should be reported at https://github.com/bitcoin-core/gui/issues/ -->
<!-- Describe the issue -->
When running a binary from macOS tarball an invalid version number is reported
wget https://bitcoincore.org/bin/bitcoin-core-22.0/bitcoin-22.0-osx64.tar.gz
tar xvf bitcoin-22.0-osx64.tar.gz
bitcoin-22.0/bin/bitcoind --version
Bitcoin Core version v0.21.0
Copyright (C) 2009-2020 The Bitcoin Core developers
bitcoin-22.0/bin/bitcoind
2021-10-04T18:50:48Z Bitcoin Core version v0.21.0 (release build)
Confirmed on 0.21.1, 0.21.2 and 22.0