[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 19dfba6ab7f628e150e9bfe3518ee591dfe7f54b
Author: iwakeh <iwakeh@xxxxxxxxxxxxxx>
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">



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits