[S2GRAPH-115] prints an error message when running 'publish' task, suggesting 
to run 'publishSigned'


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

Branch: refs/heads/master
Commit: 0e87804c144236da4d217bd16a5fce9b56e49ce3
Parents: a772061
Author: Jong Wook Kim <[email protected]>
Authored: Tue Nov 8 01:09:17 2016 -0500
Committer: Jong Wook Kim <[email protected]>
Committed: Tue Nov 8 01:09:17 2016 -0500

----------------------------------------------------------------------
 project/Publisher.scala | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/0e87804c/project/Publisher.scala
----------------------------------------------------------------------
diff --git a/project/Publisher.scala b/project/Publisher.scala
index ed3bdab..49364e4 100644
--- a/project/Publisher.scala
+++ b/project/Publisher.scala
@@ -5,7 +5,9 @@ import scala.xml.XML
 object Publisher {
 
   val defaultSettings = Seq(
-    publish := {}, // disable unsigned publishing
+    publish := {
+      streams.value.log.error("use publishSigned task instead, to produce 
code-signed artifacts")
+    },
     publishMavenStyle := true,
     publishTo := {
       if (isSnapshot.value) {

Reply via email to