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

xqhu pushed a commit to branch release-2.64
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/release-2.64 by this push:
     new 014e77d43e4 Perform correct release version validation (#34378) 
(#34400)
014e77d43e4 is described below

commit 014e77d43e483de6eb06d31701890d6708590d2e
Author: Danny McCormick <[email protected]>
AuthorDate: Mon Mar 24 09:59:05 2025 -0400

    Perform correct release version validation (#34378) (#34400)
---
 release/src/main/scripts/set_version.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release/src/main/scripts/set_version.sh 
b/release/src/main/scripts/set_version.sh
index 0244d047141..082786c5946 100755
--- a/release/src/main/scripts/set_version.sh
+++ b/release/src/main/scripts/set_version.sh
@@ -69,8 +69,8 @@ if [[ -z $TARGET_VERSION ]] ; then
   exit 1
 fi
 
-if ! [[ ${RELEASE} =~ ([0-9]+\.[0-9]+) ]];
-  then  echo "The input for RELEASE does not match a valid format 
[0-9]+\.[0-9]+"
+if ! [[ ${TARGET_VERSION} =~ ([0-9]+\.[0-9]+\.[0-9]+) ]];
+  then  echo "The input for TARGET_VERSION: ${TARGET_VERSION} does not match a 
valid format [0-9]+\.[0-9]+\.[0-9]+"
   exit 1
 fi
 

Reply via email to