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

jdaugherty pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-grails-gradle-publish.git


The following commit(s) were added to refs/heads/main by this push:
     new 5ef1159  chore: adjust verification script to not error when no 
differences remain
5ef1159 is described below

commit 5ef1159fb4641d98e4eee30c9b36353e52375519
Author: James Daugherty <jdaughe...@jdresources.net>
AuthorDate: Fri Sep 5 12:05:52 2025 -0400

    chore: adjust verification script to not error when no differences remain
---
 etc/bin/verify-reproducible.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/etc/bin/verify-reproducible.sh b/etc/bin/verify-reproducible.sh
index 465413d..4512274 100755
--- a/etc/bin/verify-reproducible.sh
+++ b/etc/bin/verify-reproducible.sh
@@ -137,6 +137,7 @@ if [ -s diff.txt ]; then
       fi
 
   done < diff.txt
+  : > diff_purged.txt  # Ensure the file exists and is empty
   mv diff_purged.txt diff.txt
   rm -rf firstArtifact secondArtifact firstSource secondSource || true
 
@@ -146,6 +147,7 @@ if [ -s diff.txt ]; then
   echo "❌ Differences Found ❌"
   else
     echo "✅ Differences were resolved via decompilation. ✅"
+    exit 0
   fi
 else
   echo "✅ No Differences Found. ✅"

Reply via email to