Sha256: 0dc5be72f795d4e529ece12f7b4032cb9d1d5d245b5c3fea14d7c10ccc5b4df4
Contents?: true
Size: 291 Bytes
Versions: 5
Compression:
Stored size: 291 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
dev-2.0.274 | lib/tasks/push.rb |
dev-2.0.273 | lib/tasks/push.rb |
dev-2.0.272 | lib/tasks/push.rb |
dev-2.0.271 | lib/tasks/push.rb |
dev-2.0.270 | lib/tasks/push.rb |