Sha256: a14b02da02900797aa4be010be176e8f778a0beb4fb7aac643b080377d3d03e0

Contents?: true

Size: 292 Bytes

Versions: 18

Compression:

Stored size: 292 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=') && `git branch`.include?('* master') )
			add_quiet 'git push'
			add_quiet 'git push --tags'
		end
	end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
dev-2.0.293 lib/tasks/push.rb
dev-2.0.292 lib/tasks/push.rb
dev-2.0.291 lib/tasks/push.rb
dev-2.0.289 lib/tasks/push.rb
dev-2.0.288 lib/tasks/push.rb
dev-2.0.287 lib/tasks/push.rb
dev-2.0.286 lib/tasks/push.rb
dev-2.0.285 lib/tasks/push.rb
dev-2.0.284 lib/tasks/push.rb
dev-2.0.283 lib/tasks/push.rb
dev-2.0.282 lib/tasks/push.rb
dev-2.0.281 lib/tasks/push.rb
dev-2.0.280 lib/tasks/push.rb
dev-2.0.279 lib/tasks/push.rb
dev-2.0.278 lib/tasks/push.rb
dev-2.0.277 lib/tasks/push.rb
dev-2.0.276 lib/tasks/push.rb
dev-2.0.275 lib/tasks/push.rb