This is an automated email from the ASF dual-hosted git repository.
dannycranmer pushed a commit to branch release_utils
in repository
https://gitbox.apache.org/repos/asf/flink-connector-shared-utils.git
The following commit(s) were added to refs/heads/release_utils by this push:
new f53bc61 [hotfix] Add optional FLINK_MINOR_VERSION variable for
stage_jars script
f53bc61 is described below
commit f53bc6122234eeddbacf50d312767281a4a221e7
Author: Danny Cranmer <[email protected]>
AuthorDate: Thu Apr 18 10:02:34 2024 +0100
[hotfix] Add optional FLINK_MINOR_VERSION variable for stage_jars script
---
stage_jars.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stage_jars.sh b/stage_jars.sh
index 946a414..84e9c89 100755
--- a/stage_jars.sh
+++ b/stage_jars.sh
@@ -36,7 +36,7 @@ function deploy_staging_jars {
if [ "$(is_flink_version_set_in_pom)" == "true" ]; then # it is a regular
connector release
check_variables_set FLINK_VERSION
- flink_minor_version=$(echo ${FLINK_VERSION} | sed "s/.[0-9]\+$//")
+ flink_minor_version=${FLINK_MINOR_VERSION:-$(echo ${FLINK_VERSION} | sed
"s/.[0-9]\+$//")}
version="${project_version}-${flink_minor_version}"
else # it is a connector-parent release
version="${project_version}"