knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: Release process tweaks.
Date Wed, 10 Apr 2013 13:42:11 GMT
Updated Branches:
  refs/heads/master f0ba7ca15 -> eddbe5457


Release process tweaks.


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

Branch: refs/heads/master
Commit: eddbe54571efcb477853f7a748a9f44a8fe3dc0b
Parents: f0ba7ca
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Wed Apr 10 09:42:06 2013 -0400
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Wed Apr 10 09:42:06 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/eddbe545/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 824e17d..cdd5d0a 100644
--- a/build.xml
+++ b/build.xml
@@ -47,7 +47,7 @@
     </target>
 
     <target name="clean" depends="init" description="Clean up any build artifacts.">
-        <delete file="target/dist/${gateway-version}"/>
+        <delete file="target/${gateway-version}"/>
     </target>
 
     <target name="build" depends="init" description="Build the product.">
@@ -66,7 +66,7 @@
         </exec>
     </target>
 
-    <target name="daily" depends="package" description="Perform the daily build."/>
+    <target name="daily" depends="full" description="Perform the daily build."/>
     <target name="full" depends="init" description="Perform a full build (aka daily).">
         <exec executable="${mvn.cmd}">
             <arg value="-Panalyze"/>
@@ -104,23 +104,23 @@
     -->
 
     <target name="sign" depends="init" description="Sign a previously created release.">
-        <exec executable="gpg" dir="target/dist">
+        <exec executable="gpg" dir="target/${gateway-version}">
             <arg value="--armor"/>
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}.zip"/>
         </exec>
-        <exec executable="gpg" dir="target/dist">
+        <exec executable="gpg" dir="target/${gateway-version}">
             <arg value="--armor"/>
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}-src.zip"/>
         </exec>
-        <exec executable="gpg" dir="target/dist">
+        <exec executable="gpg" dir="target/${gateway-version}">
             <arg value="--export"/>
             <arg value="--armor"/>
             <arg value="--output"/>
             <arg value="KEYS"/>
         </exec>
-        <checksum file="target/dist/${gateway-artifact}-${gateway-version}-src.zip" algorithm="SHA1"
property="checksum" />
+        <checksum file="target/${gateway-version}/${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/eddbe545/gateway-release/pom.xml
----------------------------------------------------------------------
diff --git a/gateway-release/pom.xml b/gateway-release/pom.xml
index f406343..b106c42 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/dist</outputDirectory>
+                                    <outputDirectory>../target/${gateway-version}</outputDirectory>
                                     <appendAssemblyId>false</appendAssemblyId>
                                     <descriptors>
                                         <descriptor>src/assembly.xml</descriptor>
@@ -71,13 +71,13 @@
                                 <configuration>
                                     <tasks>
                                         <checksum algorithm="MD5" fileext=".md5">
-                                            <fileset dir="../target/dist">
+                                            <fileset dir="../target/${gateway-version}">
                                                 <include name="*.zip" />
                                                 <include name="*.tar.gz" />
                                             </fileset>
                                         </checksum>
                                         <checksum algorithm="SHA1" fileext=".sha">
-                                            <fileset dir="../target/dist">
+                                            <fileset dir="../target/${gateway-version}">
                                                 <include name="*.zip" />
                                                 <include name="*.tar.gz" />
                                             </fileset>

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

http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/eddbe545/src/stage.txt
----------------------------------------------------------------------
diff --git a/src/stage.txt b/src/stage.txt
index a714b66..e71d3d4 100644
--- a/src/stage.txt
+++ b/src/stage.txt
@@ -1,11 +1,11 @@
 The release candidate has been prepared in:
 
-    target/dist
+    target/${gateway-version}
 
 Please stage it to people.apache.org like this:
 
-    scp -r target ${release-manager}:people.apache.org:public_html/${gateway-project}/${gateway-version}
+    scp -r target/${gateway-version} ${release-manager}@people.apache.org:public_html/${gateway-project}
 
 A release vote template has been generated here:
 
-    file://target/vote.txt
+    target/vote.txt

http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/eddbe545/src/vote.txt
----------------------------------------------------------------------
diff --git a/src/vote.txt b/src/vote.txt
index 6dcd44d..ea9792c 100644
--- a/src/vote.txt
+++ b/src/vote.txt
@@ -9,7 +9,7 @@ http://people.apache.org/~${release-manager}/${gateway-project}/${gateway-versio
 The release candidate is a zip archive of the sources in:
 
 https://git-wip-us.apache.org/repos/asf/incubator-knox.git
-Branch v${gateway-version}/
+Branch v${gateway-version} (git checkout -b v{gateway-version})
 
 The SHA1 checksum of the archive is ${checksum}.
 


Mime
View raw message