Sha256: 51141884d9f002221c3ea5ab5dc417007aacb7e055577d128242b318b63e7aa3

Contents?: true

Size: 391 Bytes

Versions: 25

Compression:

Stored size: 391 Bytes

Contents

desc 'performs a git push'
task :push do Tasks.execute_task :push;end

class Push < Array
	def update
		if(!defined?(NO_PUSH))
		  if(File.exists?('.git') && `git config --list`.include?('user.name='))
		    #if(`git branch`.include?('* master') || `git branch`.include?('* develop'))
				add_passive 'git push'
				add_passive 'git push --tags'
				#end
		  end
		end
	end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
dev-2.1.86 lib/tasks/push.rb
dev-2.1.85 lib/tasks/push.rb
dev-2.1.84 lib/tasks/push.rb
dev-2.1.83 lib/tasks/push.rb
dev-2.1.82 lib/tasks/push.rb
dev-2.1.81 lib/tasks/push.rb
dev-2.1.80 lib/tasks/push.rb
dev-2.1.79 lib/tasks/push.rb
dev-2.1.78 lib/tasks/push.rb
dev-2.1.77 lib/tasks/push.rb
dev-2.1.76 lib/tasks/push.rb
dev-2.1.75 lib/tasks/push.rb
dev-2.1.74 lib/tasks/push.rb
dev-2.1.73 lib/tasks/push.rb
dev-2.1.72 lib/tasks/push.rb
dev-2.1.71 lib/tasks/push.rb
dev-2.1.70 lib/tasks/push.rb
dev-2.1.69 lib/tasks/push.rb
dev-2.1.68 lib/tasks/push.rb
dev-2.1.67 lib/tasks/push.rb