Fix time-stamping to work with GPG signed commits
If HEAD is pointing to a signed commit, the result of the expression GET_CURRENT_COMMIT_TIMESTAMP will include GPG info, which in turn will end up in .update.timestamp for the current project.
This commit is contained in:
parent
fe9bc3f375
commit
9f98a8b43a
|
@ -96,7 +96,7 @@ else
|
|||
NPROC_CMD := nproc
|
||||
endif
|
||||
|
||||
GET_CURRENT_COMMIT_TIMESTAMP := git log --pretty=format:%cd -n 1 $(GIT_TIMESTAMP_ARG)
|
||||
GET_CURRENT_COMMIT_TIMESTAMP := git log --no-show-signature --pretty=format:%cd -n 1 $(GIT_TIMESTAMP_ARG)
|
||||
UPDATE_TIMESTAMP := .update.timestamp
|
||||
|
||||
ifeq ($(BUILD_SYSTEM_DIR),)
|
||||
|
|
Loading…
Reference in New Issue