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

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

commit e87ed0e813e1c40ac56b6cdcf405a080e15122e8
Author: schultz <schu...@apache.org>
AuthorDate: Sat Dec 9 12:14:19 2023 -0800

    Improve verify-release target.
    
    Include all release artifacts in final release verification check.
    Suppress verify/ and any vi swap files from src bundle.
---
 build.xml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index c946db3ea1..84322a1564 100644
--- a/build.xml
+++ b/build.xml
@@ -2455,6 +2455,7 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
             </and>
             <filename name="**/*.asc" />
             <filename name="**/*.tmp" />
+            <filename name="**/.*.sw*" />
             <filename name="**/maven-resolver-ant-tasks-*.jar" />
             <filename name="**/thumbs.db" />
             <filename name="**/Thumbs.db" />
@@ -2474,6 +2475,9 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
                 <filename name="modules/jdbc-pool/**" />
               </not>
             </and>
+            <!-- Do not inculde any files  user for release-verification -->
+            <filename name="verify" />
+            <filename name="verify/**" />
           </or>
         </not>
       </fileset>
@@ -4098,8 +4102,7 @@ Unable to locate release hash for @{basefile}
         <filesmatch 
file1="output/release/v${version}/@{src-or-bin}/@{basefile}.sha512"
                     file2="verify/@{basefile}.sha512"/>
       </condition>
-      <echo if:set="reproducible-@{num}">Signature MATCH for 
@{src-or-bin}/@{basefile}
-      </echo>
+      <echo if:set="reproducible-@{num}">Signature MATCH for 
@{src-or-bin}/@{basefile}</echo>
       <echo unless:set="reproducible-@{num}">
 Signature mismatch for @{src-or-bin}/@{basefile}:
   </echo>
@@ -4174,10 +4177,8 @@ reproducible-10=${reproducible-10}
         <isset property="reproducible-6" />
         <isset property="reproducible-7" />
         <isset property="reproducible-8" />
-<!--
         <isset property="reproducible-9" />
         <isset property="reproducible-10" />
--->
       </and>
     </condition>
 


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

Reply via email to