This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new e2f415cf33c Fix split-version-build.sh
e2f415cf33c is described below
commit e2f415cf33c46dd7fd04e081851af8b5a027a6b4
Author: Lari Hotari <[email protected]>
AuthorDate: Tue Apr 14 17:21:27 2026 +0300
Fix split-version-build.sh
BUILD_ALL_VERSION=1
---
scripts/split-version-build.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/split-version-build.sh b/scripts/split-version-build.sh
index b4a9dff1569..3f3fb4cd55c 100755
--- a/scripts/split-version-build.sh
+++ b/scripts/split-version-build.sh
@@ -36,8 +36,8 @@ _buildVersion() {
}
COMMIT_MSG=$(git show -s --format="%s %B")
-FORCE_BUILD_ALL_VERSION=$(echo "$COMMIT_MSG" | sed
's/.*BUILD_ALL_VERSION=\([0-1]*\).*/\1/g')
-FORCE_BUILD_VERSIONS=$(echo "$COMMIT_MSG" | sed
's/.*BUILD_VERSIONS=\([0-9\.x,]*\).*/\1/g')
+FORCE_BUILD_ALL_VERSION=$(echo "$COMMIT_MSG" | sed -n
's/.*BUILD_ALL_VERSION=\([0-1]*\).*/\1/p')
+FORCE_BUILD_VERSIONS=$(echo "$COMMIT_MSG" | sed -n
's/.*BUILD_VERSIONS=\([0-9\.x,]*\).*/\1/p')
if [[ $FORCE_BUILD_VERSIONS =~ ^[0-9\.x,]+$ ]]; then
SUPPLEMENT_VERSIONS=$FORCE_BUILD_VERSIONS
else