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.
@@ -1,3 +1,7 @@
1
+ ### 0.1.2 / 2012-04-26
2
+
3
+ * {Gem::Tasks::SCM::Push} now runs `git push` then `git push --tags`.
4
+
1
5
  ### 0.1.1 / 2012-04-26
2
6
 
3
7
  * {Gem::Tasks::Sign::PGP} now creates ASCII armored signatures.
@@ -1,5 +1,5 @@
1
1
  name: rubygems-tasks
2
- version: 0.1.1
2
+ version: 0.1.2
3
3
  summary: Rake tasks for managing and releasing Ruby Gems.
4
4
  description:
5
5
  Agnostic and unobtrusive Rake tasks for managing and releasing Ruby Gems.
@@ -44,9 +44,12 @@ module Gem
44
44
  #
45
45
  def push!
46
46
  case @project.scm
47
- when :git then run 'git', 'push', '--tags'
48
- when :hg then run 'hg', 'push'
49
- else true
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: