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

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


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 91c269c5e9 Fix repeatable builds for Windows installer
91c269c5e9 is described below

commit 91c269c5e9e7c1d67fe16d883826e00cf4c2d951
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 a409760da1..19a4802396 100644
--- a/build.xml
+++ b/build.xml
@@ -2793,6 +2793,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