You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/03/10 03:00:58 UTC
[flink-statefun] branch master updated: [FLINK-16507] [releasing]
update_branch_version.sh should also update Python SDK version
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
The following commit(s) were added to refs/heads/master by this push:
new e2ffb95 [FLINK-16507] [releasing] update_branch_version.sh should also update Python SDK version
e2ffb95 is described below
commit e2ffb95b6a3de36d5e78cbd29a5f439aaf82e4c7
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Mon Mar 9 21:47:24 2020 +0800
[FLINK-16507] [releasing] update_branch_version.sh should also update Python SDK version
This closes #53.
---
tools/releasing/update_branch_version.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/releasing/update_branch_version.sh b/tools/releasing/update_branch_version.sh
index 34acbe4..0958e6b 100755
--- a/tools/releasing/update_branch_version.sh
+++ b/tools/releasing/update_branch_version.sh
@@ -59,6 +59,9 @@ cd ${PROJECT_ROOT}
# change version in all pom files
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${NEW_VERSION}
+# change version in Python SDK's setup.py file
+perl -pi -e "s#version=\'$OLD_VERSION\'#version=\'$NEW_VERSION\'#" statefun-python-sdk/setup.py
+
# change version strings in README
perl -pi -e "s#<version>(.*)$OLD_VERSION(.*)</version>#<version>$NEW_VERSION</version>#" README.md
perl -pi -e "s#-DarchetypeVersion=$OLD_VERSION#-DarchetypeVersion=$NEW_VERSION#" README.md