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:
Teodor M. Ionita 2023-08-07 11:50:58 +03:00
parent fe9bc3f375
commit 9f98a8b43a
No known key found for this signature in database
GPG Key ID: 062D853392376829
1 changed files with 1 additions and 1 deletions

View File

@ -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),)