minor: deploy git task in progress

This commit is contained in:
Tyler Brock 2012-02-28 12:54:50 -05:00
parent cf85bd5554
commit 136e8113e8

View File

@ -6,6 +6,8 @@ end
require 'fileutils'
require 'rake/testtask'
require 'rake'
require 'git'
require 'logger'
begin
require 'ci/reporter/rake/test_unit'
rescue LoadError
@ -282,6 +284,14 @@ namespace :deploy do
change_version(args[:version])
end
task :git, [:version] do |t, args|
g = Git.open(Dir.getwd(), :log => Logger.new(STDOUT))
check_version(args[:version])
g.commit "RELEASE #{:version}"
g.add_tag(:version)
#g.push
end
task :gems, [:version] do |t, args|
check_version(args[:version])
check_gem_list_existence(args[:version])