Repository: systemml Updated Branches: refs/heads/master f07b5a2d9 -> 6ea9b33b4
[SYSTEMML-1250] Automate workaround for maven plugin issue Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/6ea9b33b Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/6ea9b33b Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/6ea9b33b Branch: refs/heads/master Commit: 6ea9b33b45e00fb878f3df4649561166cf11d5ab Parents: f07b5a2 Author: Arvind Surve <ac...@yahoo.com> Authored: Sat Sep 16 11:01:04 2017 -0700 Committer: Arvind Surve <ac...@yahoo.com> Committed: Sat Sep 16 11:01:04 2017 -0700 ---------------------------------------------------------------------- dev/release/release-build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/6ea9b33b/dev/release/release-build.sh ---------------------------------------------------------------------- diff --git a/dev/release/release-build.sh b/dev/release/release-build.sh index 66e0a88..120664b 100755 --- a/dev/release/release-build.sh +++ b/dev/release/release-build.sh @@ -265,11 +265,14 @@ if [[ "$RELEASE_PREPARE" == "true" ]]; then echo "RELEASE_STAGING_LOCATION=$RELEASE_STAGING_LOCATION" echo "BASE_DIR=$BASE_DIR" - exit 5 + # As fix has been added below to update version information exit to update pom file is not needed. + # exit 5 # Update dev/release/target/release/systemml/pom.xml with similar to following contents which is for 0.13.0 RC1 # Update <version>0.13.0</version> # Update <tag>v0.13.0-rc1</tag> + sed -i .bak "s|<version>$DEVELOPMENT_VERSION<\/version>|<version>$RELEASE_VERSION<\/version>|" $BASE_DIR/target/release/systemml/pom.xml + sed -i .bak "s|<tag>HEAD<\/tag>|<tag>$RELEASE_TAG<\/tag>|" $BASE_DIR/target/release/systemml/pom.xml cd $RELEASE_WORK_DIR/systemml ## Rerunning mvn with clean and package goals, as release:prepare changes ordeer for some dependencies like unpack and shade.