Sha256: 0a56526c9109bbfa56f0d41afc8eaa92882200aa5efecd937338d3fe270b11f7
Contents?: true
Size: 351 Bytes
Versions: 4
Compression:
Stored size: 351 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_passive 'git push' add_passive 'git push --tags' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dev-2.1.34 | lib/tasks/push.rb |
dev-2.1.33 | lib/tasks/push.rb |
dev-2.1.32 | lib/tasks/push.rb |
dev-2.1.31 | lib/tasks/push.rb |