You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by km...@apache.org on 2013/04/01 15:58:42 UTC

[2/2] git commit: Fixes for signing and staging.

Fixes for signing and staging.


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

Branch: refs/heads/v0.2.0
Commit: 8966f8d599f4e2b013ae53020fa3fcc888376bf1
Parents: 1d5e006
Author: Kevin Minder <ke...@hortonworks.com>
Authored: Fri Mar 29 22:59:11 2013 -0400
Committer: Kevin Minder <ke...@hortonworks.com>
Committed: Fri Mar 29 22:59:11 2013 -0400

----------------------------------------------------------------------
 build.xml               |    8 ++++----
 gateway-release/pom.xml |    6 +++---
 pom.xml                 |    1 +
 src/stage.txt           |    6 +++---
 src/vote.txt            |    5 +++--
 5 files changed, 14 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/8966f8d5/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 4b7b696..800c5b5 100644
--- a/build.xml
+++ b/build.xml
@@ -103,23 +103,23 @@
     -->
 
     <target name="sign" depends="init" description="Sign a previously created release.">
-        <exec executable="gpg" dir="target">
+        <exec executable="gpg" dir="target/dist">
             <arg value="--armor"/>
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}.zip"/>
         </exec>
-        <exec executable="gpg" dir="target">
+        <exec executable="gpg" dir="target/dist">
             <arg value="--armor"/>
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}-src.zip"/>
         </exec>
-        <exec executable="gpg" dir="target">
+        <exec executable="gpg" dir="target/dist">
             <arg value="--export"/>
             <arg value="--armor"/>
             <arg value="--output"/>
             <arg value="KEYS"/>
         </exec>
-        <checksum file="target/${gateway-artifact}-${gateway-version}-src.zip" algorithm="SHA1" property="checksum" />
+        <checksum file="target/dist/${gateway-artifact}-${gateway-version}-src.zip" algorithm="SHA1" property="checksum" />
         <copy file="src/vote.txt" tofile="target/vote.txt">
             <filterchain>
                 <expandproperties/>

http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/8966f8d5/gateway-release/pom.xml
----------------------------------------------------------------------
diff --git a/gateway-release/pom.xml b/gateway-release/pom.xml
index c052032..6bcaa12 100644
--- a/gateway-release/pom.xml
+++ b/gateway-release/pom.xml
@@ -53,7 +53,7 @@
                                 <goals><goal>single</goal></goals>
                                 <configuration>
                                     <finalName>${gateway-artifact}-${gateway-version}</finalName>
-                                    <outputDirectory>../target</outputDirectory>
+                                    <outputDirectory>../target/dist</outputDirectory>
                                     <appendAssemblyId>false</appendAssemblyId>
                                     <descriptors>
                                         <descriptor>src/assembly.xml</descriptor>
@@ -71,13 +71,13 @@
                                 <configuration>
                                     <tasks>
                                         <checksum algorithm="MD5" fileext=".md5">
-                                            <fileset dir="../target">
+                                            <fileset dir="../target/dist">
                                                 <include name="*.zip" />
                                                 <include name="*.tar.gz" />
                                             </fileset>
                                         </checksum>
                                         <checksum algorithm="SHA1" fileext=".sha">
-                                            <fileset dir="../target">
+                                            <fileset dir="../target/dist">
                                                 <include name="*.zip" />
                                                 <include name="*.tar.gz" />
                                             </fileset>

http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/8966f8d5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 45aa696..7ed6617 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,6 +112,7 @@
                                 <goals><goal>single</goal></goals>
                                 <configuration>
                                     <finalName>${gateway-artifact}-${gateway-version}</finalName>
+                                    <outputDirectory>target/dist</outputDirectory>
                                     <descriptors>
                                         <descriptor>src/assembly.xml</descriptor>
                                     </descriptors>

http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/8966f8d5/src/stage.txt
----------------------------------------------------------------------
diff --git a/src/stage.txt b/src/stage.txt
index 9dd2206..318db9e 100644
--- a/src/stage.txt
+++ b/src/stage.txt
@@ -1,11 +1,11 @@
 The release candidate has been prepared in:
 
-    target
+    target/dist
 
 Please stage it to people.apache.org like this:
 
-    scp -r target people.apache.org:public_html/${gateway-project}/
+    scp -r target ${release-manager}:people.apache.org:public_html/${gateway-project}/${gateway-version}
 
 A release vote template has been generated here:
 
-    file://target/vote.txt
+    file://target/vote.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/8966f8d5/src/vote.txt
----------------------------------------------------------------------
diff --git a/src/vote.txt b/src/vote.txt
index 736406c..6dcd44d 100644
--- a/src/vote.txt
+++ b/src/vote.txt
@@ -1,5 +1,5 @@
 From: ${release-manager}@apache.org
-To: dev@${gateway-project}.apache.org
+To: dev@${gateway-project}.incubator.apache.org
 Subject: [VOTE] Release ${gateway-name} ${gateway-version}
 
 A candidate for the ${gateway-name} ${gateway-version} release is available at:
@@ -8,7 +8,8 @@ http://people.apache.org/~${release-manager}/${gateway-project}/${gateway-versio
 
 The release candidate is a zip archive of the sources in:
 
-http://svn.apache.org/repos/asf/${gateway-project}/tags/${gateway-version}/
+https://git-wip-us.apache.org/repos/asf/incubator-knox.git
+Branch v${gateway-version}/
 
 The SHA1 checksum of the archive is ${checksum}.