1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-17 23:16:11 +08:00

mk: change git-hash command to include information about modifications

With this command we will get hash information as well as information if
build was made using uncommited files.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2019-03-07 00:42:19 +01:00
parent cc315dc77f
commit c8c0c48e2d

View File

@ -1 +1,2 @@
git-hash:=$(shell git rev-parse --short HEAD 2>/dev/null)
git-hash:=$(shell git describe --always --match=NeVeRmAtCh --dirty 2>/dev/null)