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