rubygems-tasks 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +4 -0
- data/gemspec.yml +1 -1
- data/lib/rubygems/tasks/scm/push.rb +6 -3
- metadata +1 -1
data/ChangeLog.md
CHANGED
data/gemspec.yml
CHANGED
@@ -44,9 +44,12 @@ module Gem
|
|
44
44
|
#
|
45
45
|
def push!
|
46
46
|
case @project.scm
|
47
|
-
when :git
|
48
|
-
|
49
|
-
|
47
|
+
when :git
|
48
|
+
run('git', 'push') && run('git', 'push', '--tags')
|
49
|
+
when :hg
|
50
|
+
run 'hg', 'push'
|
51
|
+
else
|
52
|
+
true
|
50
53
|
end
|
51
54
|
end
|
52
55
|
|