Repository: incubator-hivemall
Updated Branches:
  refs/heads/v0.5.0 09bfeea5a -> d4f2b9169


Fixed to update spark pom.xml because it's not updated by maven-release-plugin


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

Branch: refs/heads/v0.5.0
Commit: d4f2b91699da9b6ea979334b5bc9d864260a9d0f
Parents: 09bfeea
Author: Makoto Yui <[email protected]>
Authored: Wed Jan 10 19:25:01 2018 +0900
Committer: Makoto Yui <[email protected]>
Committed: Wed Jan 10 19:25:01 2018 +0900

----------------------------------------------------------------------
 bin/set_version.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/d4f2b916/bin/set_version.sh
----------------------------------------------------------------------
diff --git a/bin/set_version.sh b/bin/set_version.sh
index ce9e576..7d5c9ff 100755
--- a/bin/set_version.sh
+++ b/bin/set_version.sh
@@ -109,6 +109,7 @@ if [ $update_pom -eq 0 ]; then
   find . -type f \( -name 'VERSION' -o -name 'pom.xml' -o -name 
'HivemallConstants.java' -o -name 'HivemallOpsSuite.scala' -o -name 
'HiveUdfSuite.scala' \)  | xargs grep ${old_version}
 else
   find . -type f \( -name 'VERSION' -o -name 'HivemallConstants.java' -o -name 
'HivemallOpsSuite.scala' -o -name 'HiveUdfSuite.scala' \)  | xargs grep 
${old_version}
+  find ./spark -type f \( -name 'pom.xml' \) | xargs grep ${old_version}
 fi
 echo 
"--------------------------------------------------------------------------"
 echo
@@ -127,6 +128,7 @@ if [ $update_pom -eq 0 ]; then
   find . -type f \( -name 'VERSION' -o -name 'pom.xml' -o -name 
'HivemallConstants.java' -o -name 'HivemallOpsSuite.scala' -o -name 
'HiveUdfSuite.scala' \) | xargs sed -i '' -e "s/${old_version}/${new_version}/g"
 else
   find . -type f \( -name 'VERSION' -o -name 'HivemallConstants.java' -o -name 
'HivemallOpsSuite.scala' -o -name 'HiveUdfSuite.scala' \) | xargs sed -i '' -e 
"s/${old_version}/${new_version}/g"
+  find ./spark -type f \( -name 'pom.xml' \) | xargs sed -i '' -e 
"s/${old_version}/${new_version}/g"
 fi
 
 echo "Done!"

Reply via email to