chore(ci): utc commit date (#4506)

This commit is contained in:
Julio López
2025-04-16 23:06:30 -07:00
committed by GitHub
parent 8c8d20b317
commit eb2e301b73

View File

@@ -71,7 +71,7 @@ export REPO_OWNER=$(GITHUB_REPOSITORY:%/kopia=%)
endif
# e.g. 2021-02-19 06:56:21 -0800
git_commit_date:=$(shell git show -s --format=%ci HEAD)
git_commit_date:=$(shell git TZ=UTC show -s --date=iso-local --format=%cd HEAD)
# compute build date and time from the current commit as yyyyMMdd
commit_date_ymd:=$(subst -,,$(word 1, $(git_commit_date)))