This is an automated email from the ASF dual-hosted git repository.
yzheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new f099d60a3 Ignore regenerate.sh on README.md (#1999)
f099d60a3 is described below
commit f099d60a3ca2ab7ac8840040cf413375bbc1bfa4
Author: Yong Zheng <[email protected]>
AuthorDate: Fri Jul 4 19:08:14 2025 -0500
Ignore regenerate.sh on README.md (#1999)
---
client/templates/regenerate.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/client/templates/regenerate.sh b/client/templates/regenerate.sh
index 69dc162ed..6401441e8 100755
--- a/client/templates/regenerate.sh
+++ b/client/templates/regenerate.sh
@@ -18,7 +18,7 @@
# under the License.
#
-set -e
+set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
pushd "$SCRIPT_DIR/../python" > /dev/null
@@ -139,6 +139,7 @@ EXCLUDE_PATHS=(
"./poetry.lock"
"./docker-compose.yml"
"./.pre-commit-config.yaml"
+ "./README.md"
)
EXCLUDE_EXTENSIONS=(
@@ -161,7 +162,7 @@ find . -type f | while read -r file; do
extension_excluded=true
fi
done
-
+
# Skip this file if its extension is excluded
if [ "$extension_excluded" = true ]; then
echo "${file}: skipped"
@@ -182,7 +183,7 @@ find . -type f | while read -r file; do
if [ "$exclude" = false ]; then
# Construct the header file path
header_file="${SCRIPT_DIR}/header-${ext}.txt"
-
+
# Only process if the license file exists
if [ -f "$header_file" ]; then
echo "${file}: updated"
@@ -212,4 +213,3 @@ echo "Deletion complete"
echo "Regeneration complete"
popd > /dev/null
-