harleytt-capistrano-gitflow 1.4.6 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/capistrano-gitflow.gemspec +1 -1
- data/lib/capistrano/gitflow.rb +7 -3
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.7
|
data/capistrano-gitflow.gemspec
CHANGED
@@ -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.
|
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"]
|
data/lib/capistrano/gitflow.rb
CHANGED
@@ -80,7 +80,7 @@ module Capistrano
|
|
80
80
|
when :production
|
81
81
|
last_staging_tag
|
82
82
|
when :staging
|
83
|
-
|
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
|
-
|
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
|
-
|
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:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 7
|
10
|
+
version: 1.4.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joshua Nichols
|