You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by su...@apache.org on 2017/03/15 16:15:15 UTC

knox git commit: Added knoxshell to scripts that help with release candidates

Repository: knox
Updated Branches:
  refs/heads/master 835e185b2 -> b1178205b


Added knoxshell to scripts that help with release candidates


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

Branch: refs/heads/master
Commit: b1178205bff92070d504473c5c50b00046f0a60c
Parents: 835e185
Author: Sumit Gupta <su...@apache.org>
Authored: Wed Mar 15 12:14:11 2017 -0400
Committer: Sumit Gupta <su...@apache.org>
Committed: Wed Mar 15 12:14:11 2017 -0400

----------------------------------------------------------------------
 build.xml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/b1178205/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 54c14b7..ed49d32 100644
--- a/build.xml
+++ b/build.xml
@@ -24,6 +24,7 @@ Release build file for the Apache Knox Gateway
 <property name="gateway-name" value="Apache Knox"/>
 <property name="gateway-project" value="knox"/>
 <property name="gateway-artifact" value="knox"/>
+    <property name="knoxshell-artifact" value="knoxshell"/>
     <property name="gateway-version" value="0.13.0-SNAPSHOT"/>
 <property name="release-manager" value="kminder"/>
 
@@ -177,6 +178,12 @@ Release build file for the Apache Knox Gateway
             <url url="${build-url}/knox-${gateway-version}.tar.gz"/>
             <url url="${build-url}/knox-${gateway-version}.tar.gz.md5"/>
             <url url="${build-url}/knox-${gateway-version}.tar.gz.sha"/>
+            <url url="${build-url}/${knoxshell-artifact}-${gateway-version}.zip"/>
+            <url url="${build-url}/${knoxshell-artifact}-${gateway-version}.zip.md5"/>
+            <url url="${build-url}/${knoxshell-artifact}-${gateway-version}.zip.sha"/>
+            <url url="${build-url}/${knoxshell-artifact}-${gateway-version}.tar.gz"/>
+            <url url="${build-url}/${knoxshell-artifact}-${gateway-version}.tar.gz.md5"/>
+            <url url="${build-url}/${knoxshell-artifact}-${gateway-version}.tar.gz.sha"/>
             <url url="${build-url}/CHANGES"/>
         </get>
     </target>
@@ -196,6 +203,14 @@ Release build file for the Apache Knox Gateway
             <url url="${svn.staging.path}/knox-${gateway-version}/knox-${gateway-version}.tar.gz.md5"/>
             <url url="${svn.staging.path}/knox-${gateway-version}/knox-${gateway-version}.tar.gz.sha"/>
             <url url="${svn.staging.path}/knox-${gateway-version}/knox-${gateway-version}.tar.gz.asc"/>
+            <url url="${svn.staging.path}/knox-${gateway-version}/${knoxshell-artifact}-${gateway-version}.zip"/>
+            <url url="${svn.staging.path}/knox-${gateway-version}/${knoxshell-artifact}-${gateway-version}.zip.md5"/>
+            <url url="${svn.staging.path}/knox-${gateway-version}/${knoxshell-artifact}-${gateway-version}.zip.sha"/>
+            <url url="${svn.staging.path}/knox-${gateway-version}/${knoxshell-artifact}-${gateway-version}.zip.asc"/>
+            <url url="${svn.staging.path}/knox-${gateway-version}/${knoxshell-artifact}-${gateway-version}.tar.gz"/>
+            <url url="${svn.staging.path}/knox-${gateway-version}/${knoxshell-artifact}-${gateway-version}.tar.gz.md5"/>
+            <url url="${svn.staging.path}/knox-${gateway-version}/${knoxshell-artifact}-${gateway-version}.tar.gz.sha"/>
+            <url url="${svn.staging.path}/knox-${gateway-version}/${knoxshell-artifact}-${gateway-version}.tar.gz.asc"/>
             <url url="${svn.staging.path}/knox-${gateway-version}/CHANGES"/>
         </get>
     </target>
@@ -258,6 +273,20 @@ Release build file for the Apache Knox Gateway
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}.tar.gz"/>
         </exec>
+        <exec executable="gpg" dir="${candidate.dir}">
+            <arg value="--armor"/>
+            <arg value="--passphrase"/>
+            <arg value="${passphrase}"/>
+            <arg value="--detach-sig"/>
+            <arg value="${knoxshell-artifact}-${gateway-version}.zip"/>
+        </exec>
+        <exec executable="gpg" dir="${candidate.dir}">
+            <arg value="--armor"/>
+            <arg value="--passphrase"/>
+            <arg value="${passphrase}"/>
+            <arg value="--detach-sig"/>
+            <arg value="${knoxshell-artifact}-${gateway-version}.tar.gz"/>
+        </exec>
         <copy file="src/vote.txt" tofile="target/vote.txt">
             <filterchain>
                 <expandproperties/>