From 34eac7641e21b7a67f02bb43a4a41536611f2079 Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Sun, 18 May 2025 02:19:21 +0530 Subject: [PATCH] fix: set MOZ_BUILD_DATE to pipeline creation time Signed-off-by: Akash Yadav --- scripts/ci-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci-build.sh b/scripts/ci-build.sh index 1519ffd1..6ea36456 100755 --- a/scripts/ci-build.sh +++ b/scripts/ci-build.sh @@ -65,7 +65,7 @@ fi # Set the build date to the date of commmit to ensure that the # MOZ_BUILDID is consistent across CI build jobs -export MOZ_BUILD_DATE="$(date -d "$CI_COMMIT_TIMESTAMP" "+%Y%m%d%H%M%S")" +export MOZ_BUILD_DATE="$(date -d "$CI_PIPELINE_CREATED_AT" "+%Y%m%d%H%M%S")" # Build bash -x scripts/build.sh "$BUILD_TYPE"