This is an automated email from the ASF dual-hosted git repository.

snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new 5d6b61e95 Source tarball reproducible (#3143)
5d6b61e95 is described below

commit 5d6b61e95d313fa493e6cd49db50bb614b3c6376
Author: Robert Stupp <[email protected]>
AuthorDate: Mon Nov 24 15:30:58 2025 +0100

    Source tarball reproducible (#3143)
    
    `git --mtime` MUST use the time zone for reproducible builds.
---
 build-logic/src/main/kotlin/publishing/rootProject.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-logic/src/main/kotlin/publishing/rootProject.kt 
b/build-logic/src/main/kotlin/publishing/rootProject.kt
index 8aad51c36..db15baf94 100644
--- a/build-logic/src/main/kotlin/publishing/rootProject.kt
+++ b/build-logic/src/main/kotlin/publishing/rootProject.kt
@@ -64,7 +64,7 @@ internal fun configureOnRootProject(project: Project) =
           archive \
           --prefix="${e.baseName.get()}/" \
           --format=tar \
-          --mtime="1980-02-01 00:00:00" \
+          --mtime="1980-02-01 00:00:00 UTC" \
           HEAD | gzip -6 --no-name > 
"${e.sourceTarball.get().asFile.relativeTo(projectDir)}"
           """
             .trimIndent(),

Reply via email to