You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2025/03/21 15:07:26 UTC
(beam) branch master updated: Perform correct release version validation (#34378)
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new a5281ddec07 Perform correct release version validation (#34378)
a5281ddec07 is described below
commit a5281ddec07cbb468bfc3b656f2ee0e7652fe799
Author: Danny McCormick <da...@google.com>
AuthorDate: Fri Mar 21 11:07:11 2025 -0400
Perform correct release version validation (#34378)
---
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