mirror of
https://github.com/status-im/nimbus-build-system.git
synced 2025-02-17 14:57:26 +00:00
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
|
NPROC_CMD := nproc
|
||||||
endif
|
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
|
UPDATE_TIMESTAMP := .update.timestamp
|
||||||
|
|
||||||
ifeq ($(BUILD_SYSTEM_DIR),)
|
ifeq ($(BUILD_SYSTEM_DIR),)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user