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

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

commit 30dd6da8a577ef01f6cbea026ec7db9dbfbe8a71
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 11 15:57:05 2025 +0000

    Fix repeatable builds for Windows installer
---
 build.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build.xml b/build.xml
index d78d34b036..1915402359 100644
--- a/build.xml
+++ b/build.xml
@@ -2812,6 +2812,10 @@ You may need a custom build of makensis. Instructions 
for this may be found in B
         detached="true"/>
     <!-- Move detached signature to source tree -->
     <move file="${dir}/${file}.sig" todir="${savedir}"/>
+    <!-- Reset timestamp of signed file -->
+    <touch datetime="${tstamp.file}" pattern="yyyy-MM-dd HH:mm:ss">
+      <fileset file="${dir}/${file}"/>
+    </touch>
   </target>
 
   <target name="-uninstaller-jsign"


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to