flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmetz...@apache.org
Subject flink git commit: [hotfix][build] Fix release script
Date Tue, 09 Aug 2016 12:02:39 GMT
Repository: flink
Updated Branches:
  refs/heads/release-1.1 fc5b58d29 -> a09f87c5c


[hotfix][build] Fix release script


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

Branch: refs/heads/release-1.1
Commit: a09f87c5c48cdac8eeadd90d4975ad04d795f51f
Parents: fc5b58d
Author: Robert Metzger <rmetzger@apache.org>
Authored: Tue Aug 9 13:52:34 2016 +0200
Committer: Robert Metzger <rmetzger@apache.org>
Committed: Tue Aug 9 14:01:57 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flink/blob/a09f87c5/tools/generate_specific_pom.sh
----------------------------------------------------------------------
diff --git a/tools/generate_specific_pom.sh b/tools/generate_specific_pom.sh
index 7023ad3..8bd4970 100755
--- a/tools/generate_specific_pom.sh
+++ b/tools/generate_specific_pom.sh
@@ -33,8 +33,8 @@ function usage {
 
 if [[ "$#" -lt 2 ]]; then usage; fi
 
-old_version="$1"
-new_version="$2"
+export old_version="$1"
+export new_version="$2"
 new_pom_name="$3"
 
 # Get hadoop version from the new Flink version
@@ -105,6 +105,8 @@ find "$flink_home" -name pom.xml -exec bash -c '
   # To avoid accidentally replace version numbers in our dependencies 
   # sharing the version number with the current release use the following.
 
+  echo "p=$p, old_version=${old_version}, new_version=$new_version"
+
   perl -0777 -pe "s:<groupId>org.apache.flink</groupId>\n([\t ]*<artifactId>([a-z]+-)+[a-z0-9\.\_]+</artifactId>\n[\t
]*)<version>${old_version}</version>:<groupId>org.apache.flink</groupId>\n\1<version>${new_version}</version>:g"
"$p" > "$tmp_nuname1"
 
   # replace the version also in the quickstart poms (so that the hadoop1 quickstart creates
an hadoop1 project)


Mime
View raw message