From eb2e301b7353f208366f8a2f72cc13f3fb894e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20L=C3=B3pez?= <1953782+julio-lopez@users.noreply.github.com> Date: Wed, 16 Apr 2025 23:06:30 -0700 Subject: [PATCH] chore(ci): utc commit date (#4506) --- tools/tools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools.mk b/tools/tools.mk index c7e6cc514..30372927e 100644 --- a/tools/tools.mk +++ b/tools/tools.mk @@ -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)))