This is an automated email from the ASF dual-hosted git repository.
schultz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 4af68277fb Fix issues with verify-release.
4af68277fb is described below
commit 4af68277fbfcd457ff0af3e0caae76679e860de7
Author: schultz <[email protected]>
AuthorDate: Fri Dec 8 13:17:04 2023 -0800
Fix issues with verify-release.
Fix hash-compare to use the correct file path.
Fix ant version-check.
---
build.xml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/build.xml b/build.xml
index dd015d12f2..228ffd8dab 100644
--- a/build.xml
+++ b/build.xml
@@ -4082,14 +4082,16 @@ Unable to locate release hash for @{basefile}
<sequential>
<!--
- <echo>Comparing hash files
output/release/v${version.major}.${version.minor}.${version.build}/@{src-or-bin}/@{basefile}.sha512
verify/@{basefile}.sha512</echo>
+ <echo>Comparing hash files
output/release/v${version}/@{src-or-bin}/@{basefile}.sha512
verify/@{basefile}.sha512</echo>
-->
<condition property="reproducible-@{num}">
- <filesmatch
file1="output/release/v${version.major}.${version.minor}.${version.build}/@{src-or-bin}/@{basefile}.sha512"
+ <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 unless:set="reproducible-@{num}">
-Signature mismatch for @{basefile}:
+Signature mismatch for @{src-or-bin}/@{basefile}:
</echo>
<printfile unless:set="reproducible-@{num}"
file="output/release/v${version}/@{src-or-bin}/@{basefile}.sha512" />
<printfile unless:set="reproducible-@{num}"
file="verify/@{basefile}.sha512" />
@@ -4218,7 +4220,7 @@ All (important) signatures are verified; the build
appears to be reproducible.
<antversion property="antversion"/>
<condition property="release-toolchain-versions-match">
<and>
- <antversion exactly="${antversion}" />
+ <antversion exactly="${release-ant-version}" />
<equals arg1="${java.vm.version}" arg2="${release-java-version}" />
</and>
</condition>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]