trezor / trezord-go

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

Remove githash from Makefiles, move to go code #262

Closed igor-hnizdo closed 2 years ago

igor-hnizdo commented 2 years 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.