You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by uc...@apache.org on 2015/04/08 11:20:13 UTC

[11/11] flink git commit: [tools] Use BSD-style find in release script

[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 <uc...@apache.org>
Authored: Wed Apr 8 11:19:28 2015 +0200
Committer: Ufuk Celebi <uc...@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 <uc...@apache.org>" -am "Commit for release $RELEASE_VERSION"
 # sry for hardcoding my name, but this makes releasing even faster