You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nemo.apache.org by wy...@apache.org on 2020/02/21 04:48:37 UTC

[incubator-nemo] 01/01: Prepare for next development iteration, master is now at 0.3-SNAPSHOT

This is an automated email from the ASF dual-hosted git repository.

wylee pushed a commit to branch upgrade-to-0.3-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/incubator-nemo.git

commit 164ca62cd876e19c29df10559ad02b41f1906cad
Author: WooYeon <wy...@apache.org>
AuthorDate: Tue Feb 18 11:26:37 2020 +0900

    Prepare for next development iteration, master is now at 0.3-SNAPSHOT
---
 client/pom.xml                  |  2 +-
 common/pom.xml                  |  2 +-
 compiler/backend/pom.xml        |  2 +-
 compiler/frontend/beam/pom.xml  |  2 +-
 compiler/frontend/spark/pom.xml |  2 +-
 compiler/optimizer/pom.xml      |  2 +-
 compiler/pom.xml                |  2 +-
 compiler/test/pom.xml           |  2 +-
 conf/pom.xml                    |  2 +-
 examples/beam/pom.xml           |  2 +-
 examples/nexmark/pom.xml        |  2 +-
 examples/pom.xml                |  2 +-
 examples/spark/pom.xml          |  2 +-
 pom.xml                         |  2 +-
 release.sh                      | 77 +++++++++++++++++++++++++++++++++++++++++
 runtime/common/pom.xml          |  2 +-
 runtime/driver/pom.xml          |  2 +-
 runtime/executor/pom.xml        |  4 +--
 runtime/master/pom.xml          |  2 +-
 runtime/pom.xml                 |  2 +-
 runtime/test/pom.xml            |  2 +-
 21 files changed, 98 insertions(+), 21 deletions(-)

diff --git a/client/pom.xml b/client/pom.xml
index a2eba1f..e869a88 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-project</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/common/pom.xml b/common/pom.xml
index 65888f8..87de322 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-project</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/compiler/backend/pom.xml b/compiler/backend/pom.xml
index 625a313..4e2ead7 100644
--- a/compiler/backend/pom.xml
+++ b/compiler/backend/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-compiler</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/compiler/frontend/beam/pom.xml b/compiler/frontend/beam/pom.xml
index 7a455d3..1c25117 100644
--- a/compiler/frontend/beam/pom.xml
+++ b/compiler/frontend/beam/pom.xml
@@ -22,7 +22,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-compiler</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../../</relativePath>
   </parent>
 
diff --git a/compiler/frontend/spark/pom.xml b/compiler/frontend/spark/pom.xml
index 843600b..8938b53 100644
--- a/compiler/frontend/spark/pom.xml
+++ b/compiler/frontend/spark/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-compiler</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../../</relativePath>
   </parent>
 
diff --git a/compiler/optimizer/pom.xml b/compiler/optimizer/pom.xml
index bda16bc..9b9c4c1 100644
--- a/compiler/optimizer/pom.xml
+++ b/compiler/optimizer/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-compiler</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/compiler/pom.xml b/compiler/pom.xml
index ad85ef5..aaf93cd 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -23,7 +23,7 @@ under the License.
   <parent>
     <artifactId>nemo-project</artifactId>
     <groupId>org.apache.nemo</groupId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
   <modelVersion>4.0.0</modelVersion>
diff --git a/compiler/test/pom.xml b/compiler/test/pom.xml
index 69f3747..12f6569 100644
--- a/compiler/test/pom.xml
+++ b/compiler/test/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-compiler</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/conf/pom.xml b/conf/pom.xml
index c570d6d..e25be3c 100644
--- a/conf/pom.xml
+++ b/conf/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-project</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/examples/beam/pom.xml b/examples/beam/pom.xml
index 8ba7c8e..75b9785 100644
--- a/examples/beam/pom.xml
+++ b/examples/beam/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-examples</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/examples/nexmark/pom.xml b/examples/nexmark/pom.xml
index 9fb0a08..7ea5cce 100644
--- a/examples/nexmark/pom.xml
+++ b/examples/nexmark/pom.xml
@@ -23,7 +23,7 @@ under the License.
   <parent>
     <artifactId>nemo-examples</artifactId>
     <groupId>org.apache.nemo</groupId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
 
diff --git a/examples/pom.xml b/examples/pom.xml
index f0c478b..8c1bb46 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -22,7 +22,7 @@ under the License.
   <parent>
     <artifactId>nemo-project</artifactId>
     <groupId>org.apache.nemo</groupId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
 
diff --git a/examples/spark/pom.xml b/examples/spark/pom.xml
index d9fcd57..7cf23f0 100644
--- a/examples/spark/pom.xml
+++ b/examples/spark/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <artifactId>nemo-examples</artifactId>
     <groupId>org.apache.nemo</groupId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/pom.xml b/pom.xml
index 783565b..31698e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@ under the License.
 
   <groupId>org.apache.nemo</groupId>
   <artifactId>nemo-project</artifactId>
-  <version>0.2-SNAPSHOT</version>
+  <version>0.3-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Nemo Project</name>
 
diff --git a/release.sh b/release.sh
new file mode 100644
index 0000000..9361bf5
--- /dev/null
+++ b/release.sh
@@ -0,0 +1,77 @@
+if [ $# -ne 3 ];  then
+    echo "Illegal number of parameters.
+Usage: ./$0 [release_version] [rc_number] [next_version]"
+    exit 1
+fi
+
+# Parameters
+RELEASE_VER=$1
+RC_NUMBER=$2
+NEXT_VERSION=$3
+CURR_SNAPSHOT=${RELEASE_VER}-SNAPSHOT
+NEXT_SNAPSHOT=${NEXT_VERSION}-SNAPSHOT
+DEV_BRANCH=upgrade-to-${NEXT_SNAPSHOT}
+RELEASE_BRANCH=release-${RELEASE_VER}
+
+POM_FIND_COMMAND=`find ./ -name pom.xml`
+POMS=$POM_FIND_COMMAND
+
+TEMP=
+(
+'client/pom.xml'
+'common/pom.xml'
+'compiler/backend/pom.xml'
+'compiler/frontend/beam/pom.xml'
+'compiler/frontend/spark/pom.xml'
+'compiler/optimizer/pom.xml'
+'compiler/test/pom.xml'
+'compiler/pom.xml'
+'conf/pom.xml'
+'examples/beam/pom.xml'
+'examples/nexmark/pom.xml'
+'examples/spark/pom.xml'
+'examples/pom.xml'
+'runtime/common/pom.xml'
+'runtime/driver/pom.xml'
+'runtime/executor/pom.xml'
+'runtime/master/pom.xml'
+'runtime/test/pom.xml'
+'runtime/pom.xml'
+'pom.xml'
+)
+
+# Starting from master
+git checkout master
+# Create a branch to update the development version
+git checkout -b ${DEV_BRANCH}
+# Update the development version in existing pom files
+
+for POM in $POMS;
+do
+    sed -i '' -e "s/${CURR_SNAPSHOT}/${NEXT_SNAPSHOT}/g" $POM
+done
+
+# Save changes in the version update branch
+git add -A
+git commit -m "Prepare for next development iteration, master is now at ${NEXT_SNAPSHOT}"
+echo "**IMPORTANT: Send a PR just as the usual code change to update the development version of master"
+
+# Go back to master
+git checkout master
+# Create a branch for the release
+git checkout -b ${RELEASE_BRANCH}
+
+#for POM in "${POMS[@]}";
+for POM in $POMS;
+do
+    sed -i '' -e "s/${CURR_SNAPSHOT}/${RELEASE_VER}/g" $POM
+done
+
+# Save changes in the release branch
+git add -A
+git commit -m "Release version: ${RELEASE_VER}"
+gtar --exclude-vcs --exclude-vcs-ignores --exclude=.travis* --exclude=.git* --exclude=**/docs -cvf apache-nemo-$RELEASE_VER-incubating-rc$RC_NUMBER.tar.gz ../incubator-nemo
+gpg --armor --output apache-nemo-$RELEASE_VER-incubating-rc$RC_NUMBER.tar.gz.asc --detach-sig apache-nemo-$RELEASE_VER-incubating-rc$RC_NUMBER.tar.gz
+gpg --print-md MD5 apache-nemo-$RELEASE_VER-incubating-rc$RC_NUMBER.tar.gz > apache-nemo-$RELEASE_VER-incubating-rc$RC_NUMBER.tar.gz.md5
+gpg --print-md SHA512 apache-nemo-$RELEASE_VER-incubating-rc$RC_NUMBER.tar.gz > apache-nemo-$RELEASE_VER-incubating-rc$RC_NUMBER.tar.gz.sha512
+
diff --git a/runtime/common/pom.xml b/runtime/common/pom.xml
index 9912491..c4ebf4d 100644
--- a/runtime/common/pom.xml
+++ b/runtime/common/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-runtime</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/runtime/driver/pom.xml b/runtime/driver/pom.xml
index 6735939..db8fa1d 100644
--- a/runtime/driver/pom.xml
+++ b/runtime/driver/pom.xml
@@ -22,7 +22,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-runtime</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
   <modelVersion>4.0.0</modelVersion>
diff --git a/runtime/executor/pom.xml b/runtime/executor/pom.xml
index de3ee44..bec9c04 100644
--- a/runtime/executor/pom.xml
+++ b/runtime/executor/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-runtime</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
@@ -62,7 +62,7 @@ under the License.
     <dependency>
       <groupId>org.apache.nemo</groupId>
       <artifactId>nemo-runtime-master</artifactId>
-      <version>0.2-SNAPSHOT</version>
+      <version>0.3-SNAPSHOT</version>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/runtime/master/pom.xml b/runtime/master/pom.xml
index af59787..82c1ce4 100644
--- a/runtime/master/pom.xml
+++ b/runtime/master/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-runtime</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/runtime/pom.xml b/runtime/pom.xml
index b6cd38e..063f1d0 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -22,7 +22,7 @@ under the License.
   <parent>
     <artifactId>nemo-project</artifactId>
     <groupId>org.apache.nemo</groupId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
   <modelVersion>4.0.0</modelVersion>
diff --git a/runtime/test/pom.xml b/runtime/test/pom.xml
index 012b5cc..6fd24bf 100644
--- a/runtime/test/pom.xml
+++ b/runtime/test/pom.xml
@@ -24,7 +24,7 @@ under the License.
   <parent>
     <groupId>org.apache.nemo</groupId>
     <artifactId>nemo-runtime</artifactId>
-    <version>0.2-SNAPSHOT</version>
+    <version>0.3-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>