Sha256: e5775ba7ec4a1fc4c16371386c4338d44104af1c9d44f7983cd69e7353be9af0
Contents?: true
Size: 391 Bytes
Versions: 66
Compression:
Stored size: 391 Bytes
Contents
desc 'performs a git push' task :push do Tasks.execute_task :push;end class Push < Array def update if(!defined?(NO_PUSH)) 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 end
Version data entries
66 entries across 66 versions & 1 rubygems