flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject [11/11] flink git commit: [tools] Use BSD-style find in release script
Date Wed, 08 Apr 2015 09:20:13 GMT
[tools] Use BSD-style find in release script


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c367ac72
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c367ac72
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c367ac72

Branch: refs/heads/release-0.9.0-milestone-1
Commit: c367ac7278c1e78cfc9947909394cb9c1c281de7
Parents: fb6bc7f
Author: Ufuk Celebi <uce@apache.org>
Authored: Wed Apr 8 11:19:28 2015 +0200
Committer: Ufuk Celebi <uce@apache.org>
Committed: Wed Apr 8 11:19:28 2015 +0200

----------------------------------------------------------------------
 tools/create_release_files.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/c367ac72/tools/create_release_files.sh
----------------------------------------------------------------------
diff --git a/tools/create_release_files.sh b/tools/create_release_files.sh
index ff469bd..ac58ab5 100755
--- a/tools/create_release_files.sh
+++ b/tools/create_release_files.sh
@@ -67,8 +67,9 @@ rm CHANGELOG
 #rm -rf .git
 
 #find . -name 'pom.xml' -type f -exec sed -i 's#<version>$OLD_VERSION</version>#<version>$NEW_VERSION</version>#'
{} \;
-# FOR MAC: find . -name 'pom.xml' -type f -exec sed -i "" 's#<version>'$OLD_VERSION'</version>#<version>'$NEW_VERSION'</version>#'
{} \;
-find . -name 'pom.xml' -type f -exec sed -i 's#<version>'$OLD_VERSION'</version>#<version>'$NEW_VERSION'</version>#'
{} \;
+# FOR MAC:
+find . -name 'pom.xml' -type f -exec sed -i "" 's#<version>'$OLD_VERSION'</version>#<version>'$NEW_VERSION'</version>#'
{} \;
+#find . -name 'pom.xml' -type f -exec sed -i 's#<version>'$OLD_VERSION'</version>#<version>'$NEW_VERSION'</version>#'
{} \;
 
 git commit --author="Ufuk Celebi <uce@apache.org>" -am "Commit for release $RELEASE_VERSION"
 # sry for hardcoding my name, but this makes releasing even faster


Mime
View raw message