lib/dev_commands.rb in dev-2.0.61 vs lib/dev_commands.rb in dev-2.0.62
- old
+ new
@@ -818,15 +818,13 @@
self << 'git pull' if Git.branch != 'develop'
end
end
end
end
-#require_relative('internet.rb')
class Push < Array
def update
if(File.exists?('.git') && `git config --list`.include?('user.name='))
- #add 'git config --global push.default simple'
- self << 'git push' if Git.branch != 'develop' && Internet.available?
+ self << 'git push --tags' if Git.branch != 'develop' && Internet.available?
end
end
end
#
# use the SVN_EXPORTS hash to define svn exports destined for DEV_ROOT/dep