Sha256: f9f1d809f3bed8a013f274e97dd35d959d8a3fac40256c0cc6d46f8e61627203

Contents?: true

Size: 303 Bytes

Versions: 7

Compression:

Stored size: 303 Bytes

Contents

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

7 entries across 7 versions & 1 rubygems

Version Path
dev-2.0.149 lib/tasks/push.rb
dev-2.0.148 lib/tasks/push.rb
dev-2.0.147 lib/tasks/push.rb
dev-2.0.146 lib/tasks/push.rb
dev-2.0.145 lib/tasks/push.rb
dev-2.0.143 lib/tasks/push.rb
dev-2.0.142 lib/tasks/push.rb