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/grails-intellij-plugin.git
The following commit(s) were added to refs/heads/main by this push:
new d5df460 Make build reproducible
d5df460 is described below
commit d5df460e19a9cb2712de49857e0354f813946b9e
Author: James Daugherty <[email protected]>
AuthorDate: Mon Jul 27 14:16:12 2026 -0400
Make build reproducible
---
etc/bin/test-reproducible-build.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/etc/bin/test-reproducible-build.sh
b/etc/bin/test-reproducible-build.sh
index 9754a99..a7e3445 100755
--- a/etc/bin/test-reproducible-build.sh
+++ b/etc/bin/test-reproducible-build.sh
@@ -53,10 +53,15 @@ RESULTS="etc/bin/results"
# List the release artifacts (plugin ZIP) and every module jar, one relative
path per
# line, sorted so the output is order-stable across runs.
+#
+# The jar walk must prune $RESULTS: it holds the previous build's copies at
their original
+# */build/libs/*.jar sub-paths, and `git clean` deliberately spares it.
Without the prune,
+# the second snapshot lists build 1's copies as artifacts of build 2, and
every one of them
+# is then reported as build1=<missing> -- a spurious "NOT reproducible"
verdict.
list_artifacts() {
{
find plugin/build/distributions -type f -name '*.zip' 2> /dev/null || true
- find . -type f -path '*/build/libs/*.jar' 2> /dev/null || true
+ find . -path "./${RESULTS}" -prune -o -type f -path '*/build/libs/*.jar'
-print 2> /dev/null || true
} | sed 's|^\./||' | sort
}