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/26 14:21:25 UTC

[flink-statefun] 13/14: [release] Update update_branch_version.sh to update version strings in docs

This is an automated email from the ASF dual-hosted git repository.

tzulitai pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git

commit cbacd7bf7a7268c7f2153dc8e31a52fdcd408f27
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Thu Mar 26 21:52:35 2020 +0800

    [release] Update update_branch_version.sh to update version strings in docs
---
 tools/releasing/update_branch_version.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/releasing/update_branch_version.sh b/tools/releasing/update_branch_version.sh
index 5dc98b8..95cf897 100755
--- a/tools/releasing/update_branch_version.sh
+++ b/tools/releasing/update_branch_version.sh
@@ -69,6 +69,10 @@ perl -pi -e "s#-DarchetypeVersion=$OLD_VERSION#-DarchetypeVersion=$NEW_VERSION#"
 # change version strings in tools directory
 perl -pi -e "s#version: $OLD_VERSION#version: $NEW_VERSION#" tools/k8s/Chart.yaml
 
+# change version strings in docs config
+perl -pi -e "s#version: \"$OLD_VERSION\"#version: \"$NEW_VERSION\"#" docs/_config.yml
+perl -pi -e "s#version_title: \"$OLD_VERSION\"#version_title: \"$NEW_VERSION\"#" docs/_config.yml
+
 git commit -am "[release] Update version to ${NEW_VERSION}"
 
 NEW_VERSION_COMMIT_HASH=`git rev-parse HEAD`