harleytt-capistrano-gitflow 1.4.5 → 1.4.6
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 +1 -1
- data/capistrano-gitflow.gemspec +1 -1
- data/lib/capistrano/gitflow.rb +6 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.4.
|
|
1
|
+
1.4.6
|
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.6"
|
|
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
|
@@ -75,7 +75,7 @@ module Capistrano
|
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
def get_to_tag(stage_name)
|
|
78
|
-
puts "Calculating 'end' tag for :commit_log for '#{stage}'"
|
|
78
|
+
STDERR.puts "Calculating 'end' tag for :commit_log for '#{stage}'"
|
|
79
79
|
case stage_name
|
|
80
80
|
when :production
|
|
81
81
|
last_staging_tag
|
|
@@ -153,6 +153,11 @@ Please make sure you have pulled and pushed all code before deploying:
|
|
|
153
153
|
puts get_from_tag(stage) + " --> " + get_to_tag(stage)
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
desc "Print compare link (github)"
|
|
157
|
+
task :compare_link do
|
|
158
|
+
print github_compare_link(get_from_tag(stage), get_to_tag(stage))
|
|
159
|
+
end
|
|
160
|
+
|
|
156
161
|
desc "Mark the current code as a staging/qa release"
|
|
157
162
|
task :tag_staging do
|
|
158
163
|
current_sha = `git log --pretty=format:%H HEAD -1`
|
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: 11
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 1.4.
|
|
9
|
+
- 6
|
|
10
|
+
version: 1.4.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Joshua Nichols
|