This is an automated email from the ASF dual-hosted git repository.
lindong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-ml.git
The following commit(s) were added to refs/heads/master by this push:
new c50c3a01 [hotfix] update_branch_version.sh should update version in
config.toml and build-your-own-project.md
c50c3a01 is described below
commit c50c3a011144fc5ddc634c617063cf0e62872d60
Author: Dong Lin <[email protected]>
AuthorDate: Thu Apr 13 19:08:15 2023 +0800
[hotfix] update_branch_version.sh should update version in config.toml and
build-your-own-project.md
---
docs/config.toml | 4 ++--
docs/content/docs/try-flink-ml/java/build-your-own-project.md | 2 +-
tools/releasing/update_branch_version.sh | 2 ++
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/docs/config.toml b/docs/config.toml
index 38b8fd08..cc933c65 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -34,11 +34,11 @@ pygmentsUseClasses = true
# we change the version for the complete docs when forking of a release
branch
# etc.
# The full version string as referenced in Maven (e.g. 1.2.1)
- Version = "2.2-SNAPSHOT"
+ Version = "2.3-SNAPSHOT"
# For stable releases, leave the bugfix version out (e.g. 1.2). For snapshot
# release this should be the same as the regular version
- VersionTitle = "2.2-SNAPSHOT"
+ VersionTitle = "2.3-SNAPSHOT"
# The branch for this version of Apache Flink Machine Learning Library
Branch = "master"
diff --git a/docs/content/docs/try-flink-ml/java/build-your-own-project.md
b/docs/content/docs/try-flink-ml/java/build-your-own-project.md
index f3e4fb14..713bb924 100644
--- a/docs/content/docs/try-flink-ml/java/build-your-own-project.md
+++ b/docs/content/docs/try-flink-ml/java/build-your-own-project.md
@@ -110,7 +110,7 @@ Change the dependencies provided in `pom.xml` as follows:
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-ml-uber</artifactId>
- <version>2.2-SNAPSHOT</version>
+ <version>2.3-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
diff --git a/tools/releasing/update_branch_version.sh
b/tools/releasing/update_branch_version.sh
index 593292da..e9a546f2 100755
--- a/tools/releasing/update_branch_version.sh
+++ b/tools/releasing/update_branch_version.sh
@@ -62,6 +62,8 @@ mvn versions:set -DgenerateBackupPoms=false
-DnewVersion=${NEW_VERSION}
# change version of apache-flink-ml
perl -pi -e "s#^__version__ = \".*\"#__version__ = \"${NEW_VERSION}\"#"
flink-ml-python/pyflink/ml/version.py
perl -pi -e "s#-SNAPSHOT#\\.dev0#" flink-ml-python/pyflink/ml/version.py
+sed -i "s/"${OLD_VERSION}"/"${NEW_VERSION}"/g" docs/config.toml
+sed -i "s/"${OLD_VERSION}"/"${NEW_VERSION}"/g"
docs/content/docs/try-flink-ml/java/build-your-own-project.md
git commit -am "[release] Update version to ${NEW_VERSION}"