[tor-commits] [onionoo/master] Added check that failes, when jars are not signed.

karsten at torproject.org karsten at torproject.org
Wed Nov 23 15:29:25 UTC 2016


commit 19dfba6ab7f628e150e9bfe3518ee591dfe7f54b
Author: iwakeh <iwakeh at torproject.org>
Date:   Fri Nov 18 19:28:15 2016 +0100

    Added check that failes, when jars are not signed.
    Currently is failes.  Part of task-20712.
---
 build.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/build.xml b/build.xml
index fe527c0..b939915 100644
--- a/build.xml
+++ b/build.xml
@@ -295,6 +295,16 @@
         <pathelement path="${warfile}"/>
       </path>
     </signjar>
+    <fail message="Signing failed." >
+      <condition>
+        <not>
+          <and>
+            <issigned file="${onionoo.jarfile}"/>
+            <issigned file="${warfile}"/>
+          </and>
+        </not>
+      </condition>
+    </fail>
   </target>
 
   <target name="tar" depends="signjar">





More information about the tor-commits mailing list