Repository: ode Updated Branches: refs/heads/ode-1.3.x 1e141c2de -> 3cb699f0d
only gpg sign releases, not snapshots. Project: http://git-wip-us.apache.org/repos/asf/ode/repo Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/8ca61fbb Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/8ca61fbb Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/8ca61fbb Branch: refs/heads/ode-1.3.x Commit: 8ca61fbb4bb586a20ba5311f02bf4dac70d2a58f Parents: 1e141c2 Author: Tammo van Lessen <[email protected]> Authored: Wed Feb 25 15:20:51 2015 +0100 Committer: Tammo van Lessen <[email protected]> Committed: Wed Feb 25 15:20:51 2015 +0100 ---------------------------------------------------------------------- Rakefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ode/blob/8ca61fbb/Rakefile ---------------------------------------------------------------------- diff --git a/Rakefile b/Rakefile index 3128441..f0199b5 100644 --- a/Rakefile +++ b/Rakefile @@ -21,7 +21,6 @@ require "buildr/openjpa" require "buildr/javacc" require "buildr/jetty" require "buildr/hibernate" -require "buildr/gpg" require File.join(File.dirname(__FILE__), 'repositories.rb') require File.join(File.dirname(__FILE__), 'dependencies.rb') @@ -39,13 +38,17 @@ Java.classpath << Buildr::OpenJPA::REQUIRES # Keep this structure to allow the build system to update version numbers. VERSION_NUMBER = "1.3.7-SNAPSHOT" -# Apache Nexus Repositories +# if SNAPSHOT version... if VERSION_NUMBER =~ /SNAPSHOT/ + # ... deploy to: # Apache Development Snapshot Repository repositories.release_to[:url] ||= 'https://repository.apache.org/content/repositories/snapshots' else + # ... else deploy to: # Apache Release Distribution Repository repositories.release_to[:url] ||= 'https://repository.apache.org/service/local/staging/deploy/maven2' + # and make sure artifacts are signed. + require "buildr/gpg" end BUNDLE_VERSIONS = {
