trezor / trezord-go

:smiling_imp: Trezor Communication Daemon (written in Go)
GNU Lesser General Public License v3.0
241 stars 146 forks source link

Remove githash from Makefiles, move to go code #262

Closed igor-hnizdo closed 1 year ago

igor-hnizdo commented 1 year ago

In go 1.18, go is "magically" putting git hash to binary itself, which can be read in the code itself. So we don't need the git parse in Makefiles.

(I actually forgot to put the GITHASH magic to the osx build, but better to fix it properly.)

The module version is not put there, as it's hard to tell from just git. So we still need that there.