Skip to content

Commit

Permalink
mk: change git-hash command to include information about modifications
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kubuxu committed Mar 6, 2019
1 parent cc315dc commit c8c0c48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mk/git.mk
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit c8c0c48

Please sign in to comment.