You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2024/01/18 15:15:34 UTC
(flink-connector-shared-utils) branch release_utils updated: [FLINK-33401][connectors/kafka] Fix the wrong download link and version in the connector doc. This closes #64
This is an automated email from the ASF dual-hosted git repository.
martijnvisser 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 d314bab [FLINK-33401][connectors/kafka] Fix the wrong download link and version in the connector doc. This closes #64
new 164789b Merge remote-tracking branch 'origin/release_utils' into release_utils
d314bab is described below
commit d314babafbd98abdd0b129eee5626b12869825f4
Author: Yuxin Tan <ta...@gmail.com>
AuthorDate: Tue Nov 14 09:55:20 2023 +0100
[FLINK-33401][connectors/kafka] Fix the wrong download link and version in the connector doc. This closes #64
---
_utils.sh | 2 ++
release_snapshot_branch.sh | 2 ++
stage_jars.sh | 2 ++
3 files changed, 6 insertions(+)
diff --git a/_utils.sh b/_utils.sh
index b63379a..b1d03b2 100644
--- a/_utils.sh
+++ b/_utils.sh
@@ -58,7 +58,9 @@ function create_pristine_source {
}
function get_pom_version {
+ set +u
echo $(${MVN} help:evaluate -Dexpression="project.version" -q -DforceStdout)
+ set -u
}
function set_pom_version {
diff --git a/release_snapshot_branch.sh b/release_snapshot_branch.sh
index 5a4d274..202773f 100755
--- a/release_snapshot_branch.sh
+++ b/release_snapshot_branch.sh
@@ -26,7 +26,9 @@ source "${SCRIPT_DIR}/_init.sh"
function create_snapshot_branch {
cd "${SOURCE_DIR}"
+ set +u
version=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout | sed "s/-SNAPSHOT//")
+ set -u
branch="v${version}"
git checkout -b ${branch}
diff --git a/stage_jars.sh b/stage_jars.sh
index 0dd180c..925dd46 100755
--- a/stage_jars.sh
+++ b/stage_jars.sh
@@ -48,7 +48,9 @@ function deploy_staging_jars {
set_pom_version "${version}"
options="-Prelease,docs-and-source -DskipTests -DretryFailedDeploymentCount=10"
+ set +u
${MVN} clean deploy ${options} -Dflink.version=${FLINK_VERSION}
+ set -u
cd "${RELEASE_DIR}"
rm -rf "${clone_dir}"