Sha256: 12f16325002fa39ce54bff6fe509dc1a5a0fc32453d0f7ef42689f544342876d

Contents?: true

Size: 339 Bytes

Versions: 34

Compression:

Stored size: 339 Bytes

Contents

puts __FILE__ if defined?(DEBUG)

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

class Push < Array
	def update
		if(File.exists?('.git') && `git config --list`.include?('user.name='))
			self <<  'git push'
			self <<  'git push --tags'# if Git.branch != 'develop' && Internet.available?
		end
	end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
dev-2.0.183 lib/tasks/push.rb
dev-2.0.182 lib/tasks/push.rb
dev-2.0.181 lib/tasks/push.rb
dev-2.0.180 lib/tasks/push.rb
dev-2.0.179 lib/tasks/push.rb
dev-2.0.178 lib/tasks/push.rb
dev-2.0.177 lib/tasks/push.rb
dev-2.0.176 lib/tasks/push.rb
dev-2.0.175 lib/tasks/push.rb
dev-2.0.174 lib/tasks/push.rb
dev-2.0.173 lib/tasks/push.rb
dev-2.0.172 lib/tasks/push.rb
dev-2.0.171 lib/tasks/push.rb
dev-2.0.170 lib/tasks/push.rb
dev-2.0.169 lib/tasks/push.rb
dev-2.0.168 lib/tasks/push.rb
dev-2.0.167 lib/tasks/push.rb
dev-2.0.166 lib/tasks/push.rb
dev-2.0.165 lib/tasks/push.rb
dev-2.0.164 lib/tasks/push.rb