Sha256: 8f26bd52a0ecd82248d18cce075cfebded1490cc4d09ada691f97c3be0b46b9a

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 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=') && `git branch`.include('* master'))
			self <<  'git push'
			self <<  'git push --tags'# if Git.branch != 'develop' && Internet.available?
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dev-2.0.184 lib/tasks/push.rb