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

Kusuma04-dev pushed a commit to branch test1
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/test1 by this push:
     new 46e86efae20 test
46e86efae20 is described below

commit 46e86efae2015c0e659148ef52e5070c82247a14
Author: Kusuma04-dev <[email protected]>
AuthorDate: Tue Nov 17 09:49:46 2026 +0530

    test
---
 scripts/release/create-source-tarball.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/release/create-source-tarball.sh 
b/scripts/release/create-source-tarball.sh
index b860ce090da..8b5346e8eef 100755
--- a/scripts/release/create-source-tarball.sh
+++ b/scripts/release/create-source-tarball.sh
@@ -226,7 +226,8 @@ SIZE=$(du -h "$ZIPFILE" | cut -f1)
 echo "Created: $ZIPFILE ($SIZE)"
 
 # The root of the zip must contain exactly these entries.
-actual_entries=$(unzip -Z1 "$ZIPFILE" | awk -F/ -v root="$ROOT_DIR_NAME" '$1 
== root && $2 != "" {print $2}' | sort -u | paste -sd' ' -)
+# LC_ALL=C: the order must not depend on the locale of the machine running the 
release.
+actual_entries=$(unzip -Z1 "$ZIPFILE" | awk -F/ -v root="$ROOT_DIR_NAME" '$1 
== root && $2 != "" {print $2}' | LC_ALL=C sort -u | paste -sd' ' -)
 expected_entries="BUILD DISCLAIMER-WIP LICENSE NOTICE incubator-kie 
incubator-kie-tools"
 if [[ "$actual_entries" != "$expected_entries" ]]; then
     echo "ERROR: unexpected content in $ROOT_DIR_NAME/"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to