You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fc...@apache.org on 2026/01/26 20:13:43 UTC
(flink-connector-shared-utils) branch release_utils updated: [hotfix] Make Flink minor version parse OS-agnostic
This is an automated email from the ASF dual-hosted git repository.
fcsaky 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 cb89227 [hotfix] Make Flink minor version parse OS-agnostic
cb89227 is described below
commit cb892275b2bdbb414ea7e96453caaa9009a61c10
Author: Ferenc Csaky <fc...@apache.org>
AuthorDate: Mon Jan 26 21:13:37 2026 +0100
[hotfix] Make Flink minor version parse OS-agnostic
---
stage_jars.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stage_jars.sh b/stage_jars.sh
index 67bc415..6953a39 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=${FLINK_MINOR_VERSION:-$(echo ${FLINK_VERSION} | sed "s/.[0-9]\+$//")}
+ flink_minor_version=${FLINK_MINOR_VERSION:-$(echo ${FLINK_VERSION} | cut -d. -f1,2)}
version="${project_version}-${flink_minor_version}"
else # it is a connector-parent release
version="${project_version}"