gem-release 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module GemRelease
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
@@ -35,10 +35,10 @@ class Gem::Commands::BumpCommand < Gem::Command
35
35
  def execute
36
36
  @new_version_number = nil
37
37
 
38
- tasks = [:release, :commit, :push, :tag]
38
+ tasks = [:commit, :push, :release, :tag]
39
39
 
40
40
  # enforce option dependencies
41
- options[:push] = false if options[:tag] # push is performed as part of tag
41
+ options[:push] = true if options[:tag]
42
42
  options[:commit] = options[:commit] || options[:push] || options[:tag] || options[:release]
43
43
 
44
44
  in_gemspec_dirs do
@@ -28,9 +28,6 @@ class Gem::Commands::TagCommand < Gem::Command
28
28
  end
29
29
 
30
30
  def push
31
- say "Pushing to the origin git repository" unless quiet?
32
- return false unless system('git push origin')
33
-
34
31
  say "Pushing --tags to the origin git repository" unless quiet?
35
32
  system('git push --tags origin')
36
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: