You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2017/01/24 14:15:04 UTC

flink git commit: [FLINK-5395][release script] Fix version commit and maven upload

Repository: flink
Updated Branches:
  refs/heads/master b351aa2dd -> 5f0d8c9dd


[FLINK-5395][release script] Fix version commit and maven upload


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

Branch: refs/heads/master
Commit: 5f0d8c9dd56935f4a62ee3f57aa2d411f102bead
Parents: b351aa2
Author: Robert Metzger <rm...@apache.org>
Authored: Tue Jan 24 15:14:55 2017 +0100
Committer: Robert Metzger <rm...@apache.org>
Committed: Tue Jan 24 15:14:55 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/flink/blob/5f0d8c9d/tools/create_release_files.sh
----------------------------------------------------------------------
diff --git a/tools/create_release_files.sh b/tools/create_release_files.sh
index ed01d97..f4c4673 100755
--- a/tools/create_release_files.sh
+++ b/tools/create_release_files.sh
@@ -185,7 +185,7 @@ make_source_release() {
   cd ..
 
   # local dist have no need to commit to remote
-  if [ ! IS_LOCAL_DIST ]; then
+  if [ "$IS_LOCAL_DIST" == "false" ]; then
     git commit --author="$GIT_AUTHOR" -am "Commit for release $RELEASE_VERSION"
     git remote add asf_push https://$USER_NAME@$GIT_REPO
     RELEASE_HASH=`git rev-parse HEAD`
@@ -299,7 +299,7 @@ else
   make_binary_release "hadoop2x" "-Dhadoop.version=$HADOOP_VERSION" "$SCALA_VERSION"
 fi
 
-if [ ! IS_LOCAL_DIST ] ; then
+if [ "$IS_LOCAL_DIST" == "false" ] ; then
     copy_data
     deploy_to_maven
 fi