Repository: ode
Updated Branches:
  refs/heads/ode-1.3.x 67ed3c1e8 -> e2476bb70


signing of sources and javadoc jar during release


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

Branch: refs/heads/ode-1.3.x
Commit: 70405296b50c2468429b8a0f0ff3fbd165a9fe8d
Parents: 67ed3c1
Author: sathwik <[email protected]>
Authored: Thu Nov 10 11:58:38 2016 +0530
Committer: sathwik <[email protected]>
Committed: Thu Nov 10 11:58:38 2016 +0530

----------------------------------------------------------------------
 Rakefile | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ode/blob/70405296/Rakefile
----------------------------------------------------------------------
diff --git a/Rakefile b/Rakefile
index 9a9e04e..141a0d2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -753,6 +753,12 @@ define "ode" do
       zip.include.path("webapps").include _(:target, "ode")
     end
   end
+
+  if not VERSION_NUMBER =~ /SNAPSHOT/
+      # required to sign the -sources and -javadoc jars
+    gpg_sign_before_upload
+  end
+
 end
 
 
@@ -851,4 +857,9 @@ define "apache-ode" do
   package(:zip, :id=>"#{id}-docs").include(doc.from(project("ode").projects).
     using(:javadoc, :windowtitle=>"Apache ODE #{project.version}").target, 
:as=>"#{id}-docs-#{version}") unless ENV["JAVADOC"] =~ /^(no|off|false|skip)$/i
 
+  if not VERSION_NUMBER =~ /SNAPSHOT/
+      # required to sign the -sources and -javadoc jars
+    gpg_sign_before_upload
+  end
+
 end

Reply via email to