You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by al...@apache.org on 2019/02/25 09:22:04 UTC

[flink] 01/02: [hotfix] Fix update_branch_version.sh to allow version suffixes

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

aljoscha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 5ba9494c391d0295350b64ed0f1a4c0d44128164
Author: Aljoscha Krettek <al...@gmail.com>
AuthorDate: Mon Feb 25 10:19:51 2019 +0100

    [hotfix] Fix update_branch_version.sh to allow version suffixes
    
    This is needed because the shaded hadoop uber jar now has the hadoop
    version as a suffix to the flink version.
---
 tools/releasing/update_branch_version.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/releasing/update_branch_version.sh b/tools/releasing/update_branch_version.sh
index 90fd782..61da1a5 100755
--- a/tools/releasing/update_branch_version.sh
+++ b/tools/releasing/update_branch_version.sh
@@ -49,7 +49,7 @@ fi
 cd ..
 
 #change version in all pom files
-find . -name 'pom.xml' -type f -exec perl -pi -e 's#<version>'$OLD_VERSION'</version>#<version>'$NEW_VERSION'</version>#' {} \;
+find . -name 'pom.xml' -type f -exec perl -pi -e 's#<version>'$OLD_VERSION'(.*)</version>#<version>'$NEW_VERSION'\1</version>#' {} \;
 
 #change version of documentation
 cd docs