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

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


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

commit 7cb1693f7917f6e083ce0540ad80e1a3b9929508
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 28c7d3a2d3..0ddcf7d5f9 100644
--- a/build.xml
+++ b/build.xml
@@ -2765,6 +2765,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