harleytt-capistrano-gitflow 1.4.6 → 1.4.7

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.6
1
+ 1.4.7
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{harleytt-capistrano-gitflow}
8
- s.version = "1.4.6"
8
+ s.version = "1.4.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joshua Nichols", "Harley Trung"]
@@ -80,7 +80,7 @@ module Capistrano
80
80
  when :production
81
81
  last_staging_tag
82
82
  when :staging
83
- 'master'
83
+ `git rev-list master | head -n 1`.chomp
84
84
  else
85
85
  raise "Unsupported stage #{stage}"
86
86
  end
@@ -150,12 +150,16 @@ Please make sure you have pulled and pushed all code before deploying:
150
150
 
151
151
  desc "Show from_tag and to_tag for custom commands"
152
152
  task :from_to_tags do
153
- puts get_from_tag(stage) + " --> " + get_to_tag(stage)
153
+ s = get_from_tag(stage) + " --> " + get_to_tag(stage)
154
+ puts s
155
+ s
154
156
  end
155
157
 
156
158
  desc "Print compare link (github)"
157
159
  task :compare_link do
158
- print github_compare_link(get_from_tag(stage), get_to_tag(stage))
160
+ s = github_compare_link(get_from_tag(stage), get_to_tag(stage))
161
+ puts s
162
+ s
159
163
  end
160
164
 
161
165
  desc "Mark the current code as a staging/qa release"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harleytt-capistrano-gitflow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 6
10
- version: 1.4.6
9
+ - 7
10
+ version: 1.4.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua Nichols