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/7f7060ea Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/7f7060ea Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/7f7060ea Branch: refs/heads/master Commit: 7f7060ea9d12ab0a08113fe5daac0703c1979f1e Parents: 7750a15 Author: sathwik <[email protected]> Authored: Wed Jun 28 19:46:07 2017 +0530 Committer: sathwik <[email protected]> Committed: Wed Jun 28 19:46:07 2017 +0530 ---------------------------------------------------------------------- Rakefile | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ode/blob/7f7060ea/Rakefile ---------------------------------------------------------------------- diff --git a/Rakefile b/Rakefile index ba3227c..996f1b3 100644 --- a/Rakefile +++ b/Rakefile @@ -750,6 +750,11 @@ define "ode" do end end + if not VERSION_NUMBER =~ /SNAPSHOT/ + # required to sign the -sources and -javadoc jars + gpg_sign_before_upload + end + task :pmd do pmd_classpath = transitive('pmd:pmd:jar:4.2.5').each(&:invoke).map(&:to_s).join(File::PATH_SEPARATOR) mkdir_p _(:reports) @@ -866,5 +871,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
