You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by mx...@apache.org on 2015/10/27 17:20:16 UTC
flink git commit: [release][scripts] replace quickstart archetype
version
Repository: flink
Updated Branches:
refs/heads/master 5dba9713d -> 7414e3147
[release][scripts] replace quickstart archetype version
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/7414e314
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/7414e314
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/7414e314
Branch: refs/heads/master
Commit: 7414e31479fa0d3469c49312cf735fac75dd0420
Parents: 5dba971
Author: Maximilian Michels <mx...@apache.org>
Authored: Tue Oct 27 15:45:58 2015 +0100
Committer: Maximilian Michels <mx...@apache.org>
Committed: Tue Oct 27 16:09:00 2015 +0100
----------------------------------------------------------------------
tools/create_release_files.sh | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/7414e314/tools/create_release_files.sh
----------------------------------------------------------------------
diff --git a/tools/create_release_files.sh b/tools/create_release_files.sh
index 0d9add8..1e68e43 100755
--- a/tools/create_release_files.sh
+++ b/tools/create_release_files.sh
@@ -101,13 +101,20 @@ prepare() {
# create source package
make_source_release() {
- #find . -name 'pom.xml' -type f -exec sed -i 's#<version>$OLD_VERSION</version>#<version>$NEW_VERSION</version>#' {} \;
+ #change version in all pom files
if [ "$(uname)" == "Darwin" ]; then
find . -name 'pom.xml' -type f -exec sed -i "" 's#<version>'$OLD_VERSION'</version>#<version>'$NEW_VERSION'</version>#' {} \;
else
find . -name 'pom.xml' -type f -exec sed -i 's#<version>'$OLD_VERSION'</version>#<version>'$NEW_VERSION'</version>#' {} \;
fi
+ #change version in quickstart archetypes
+ if [ "$(uname)" == "Darwin" ]; then
+ find . -name 'pom.xml' -type f -exec sed -i "" 's#<flink.version>'$OLD_VERSION'</flink.version>#<flink.version>'$NEW_VERSION'</flink.version>#' {} \;
+ else
+ find . -name 'pom.xml' -type f -exec sed -i 's#<flink.version>'$OLD_VERSION'</flink.version>#<flink.version>'$NEW_VERSION'</flink.version>#' {} \;
+ fi
+
git commit --author="$GIT_AUTHOR" -am "Commit for release $RELEASE_VERSION"
git remote add asf_push https://$USER_NAME@git-wip-us.apache.org/repos/asf/flink.git
RELEASE_HASH=`git rev-parse HEAD`