parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject incubator-parquet-format git commit: PARQUET-185: Update release scripts and POM.
Date Wed, 11 Feb 2015 22:57:45 GMT
Repository: incubator-parquet-format
Updated Branches:
  refs/heads/master c3afbd22a -> 26b2c68fa


PARQUET-185: Update release scripts and POM.

* Disable source zip generation in POM
* Update scripts to use -incubating version

Author: Ryan Blue <blue@apache.org>

Closes #21 from rdblue/PARQUET-185-update-for-release and squashes the following commits:

056f966 [Ryan Blue] PARQUET-185: Update release scripts and POM.


Project: http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/commit/26b2c68f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/tree/26b2c68f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/diff/26b2c68f

Branch: refs/heads/master
Commit: 26b2c68fa5a9dcb9d819d6de68bafd75e451e5cd
Parents: c3afbd2
Author: Ryan Blue <blue@apache.org>
Authored: Wed Feb 11 14:57:42 2015 -0800
Committer: Ryan Blue <blue@apache.org>
Committed: Wed Feb 11 14:57:42 2015 -0800

----------------------------------------------------------------------
 dev/prepare-release.sh | 33 +++++++++++++++++++++++++++++++++
 dev/release-prepare.sh | 33 ---------------------------------
 dev/source-release.sh  | 12 ++++++------
 pom.xml                | 10 ++++++++++
 4 files changed, 49 insertions(+), 39 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/26b2c68f/dev/prepare-release.sh
----------------------------------------------------------------------
diff --git a/dev/prepare-release.sh b/dev/prepare-release.sh
new file mode 100644
index 0000000..2d2efce
--- /dev/null
+++ b/dev/prepare-release.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+if [ -z "$1" ]; then
+  echo "Usage: $0 <version>"
+  exit
+fi
+
+version=$1-incubating
+
+tag=apache-parquet-format-$version
+
+mvn release:clean
+mvn release:prepare -Dtag=$tag -DreleaseVersion=$version
+
+echo "Finish staging binary artifacts by running: sh dev/perform-release.sh"

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/26b2c68f/dev/release-prepare.sh
----------------------------------------------------------------------
diff --git a/dev/release-prepare.sh b/dev/release-prepare.sh
deleted file mode 100644
index df4c6fd..0000000
--- a/dev/release-prepare.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-# 
-#   http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-version=$1
-
-if [ -z "$version" ]; then
-  echo "Usage: $0 <version>"
-  exit
-fi
-
-tag=apache-parquet-format-$version-incubating
-
-mvn release:clean
-mvn release:prepare -Dtag=$tag -DreleaseVersion=$version
-
-echo "Finish staging binary artifacts by running: mvn release:perform"

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/26b2c68f/dev/source-release.sh
----------------------------------------------------------------------
diff --git a/dev/source-release.sh b/dev/source-release.sh
index 8b6e24e..7119f2a 100644
--- a/dev/source-release.sh
+++ b/dev/source-release.sh
@@ -18,25 +18,25 @@
 # under the License.
 #
 
-version=$1
-rc=$2
-
-if [ -z "$version" ]; then
+if [ -z "$1" ]; then
   echo "Usage: $0 <version> <rc-num>"
   exit
 fi
 
-if [ -z "$rc" ]; then
+if [ -z "$2" ]; then
   echo "Usage: $0 <version> <rc-num>"
   exit
 fi
 
+version=$1-incubating
+rc=$2
+
 if [ -d tmp/ ]; then
   echo "Cannot run: tmp/ exists"
   exit
 fi
 
-tag=apache-parquet-format-$version-incubating
+tag=apache-parquet-format-$version
 tagrc=${tag}-rc${rc}
 
 echo "Preparing source for $tagrc"

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/26b2c68f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d2d14f5..cdfdc4b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,6 +108,16 @@
         </executions>
       </plugin>
       <plugin>
+        <!-- Disable the source artifact from ASF parent -->
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>source-release-assembly</id>
+            <phase>none</phase>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <!-- Override source and target from the ASF parent -->
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>


Mime
View raw message