Sha256: a557492b9634b1349c398d546decc2cfd7acf28b73c9dd9394cd4458778f8dbf

Contents?: true

Size: 347 Bytes

Versions: 37

Compression:

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

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
dev-2.1.30 lib/tasks/push.rb
dev-2.1.29 lib/tasks/push.rb
dev-2.1.28 lib/tasks/push.rb
dev-2.1.27 lib/tasks/push.rb
dev-2.1.26 lib/tasks/push.rb
dev-2.1.25 lib/tasks/push.rb
dev-2.1.24 lib/tasks/push.rb
dev-2.1.23 lib/tasks/push.rb
dev-2.1.22 lib/tasks/push.rb
dev-2.1.21 lib/tasks/push.rb
dev-2.1.20 lib/tasks/push.rb
dev-2.1.19 lib/tasks/push.rb
dev-2.1.18 lib/tasks/push.rb
dev-2.1.17 lib/tasks/push.rb
dev-2.1.16 lib/tasks/push.rb
dev-2.1.15 lib/tasks/push.rb
dev-2.1.14 lib/tasks/push.rb
dev-2.1.13 lib/tasks/push.rb
dev-2.1.12 lib/tasks/push.rb
dev-2.1.11 lib/tasks/push.rb