3 lines
171 B
PHP
3 lines
171 B
PHP
|
COMMIT_NO := $(shell git rev-parse HEAD 2> /dev/null || true)
|
||
|
GIT_COMMIT := $(if $(shell git status --porcelain --untracked-files=no),"${COMMIT_NO}-dirty","${COMMIT_NO}")
|