class Gem::Tasks::Release

def define


Defines the `release` task.
def define
  @project.gemspecs.each_key do |name|
    task :release => [
      "build:#{name}",
      'scm:tag',
      'scm:push',
      "push:#{name}",
      "sign:#{name}"
    ].select { |name| task?(name) }
  end
  desc "Performs a release"
  task :release => [
    :build,
    'scm:tag',
    'scm:push',
    :push,
    :sign
  ].select { |name| task?(name) }
end