easy-deployment 0.3.0 → 0.3.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.
|
@@ -62,4 +62,13 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
|
+
|
|
66
|
+
desc "Tag the release by creating or moving a remote branch named after the current environment"
|
|
67
|
+
task :tag_release do
|
|
68
|
+
unless system("git branch -r | grep 'origin/releases/#{stage}'")
|
|
69
|
+
system "git push origin :releases/#{stage}"
|
|
70
|
+
end
|
|
71
|
+
system "git push origin #{branch}:releases/#{stage}"
|
|
72
|
+
end
|
|
73
|
+
|
|
65
74
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy-deployment
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2012-09-
|
|
15
|
+
date: 2012-09-28 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: rails
|
|
@@ -158,12 +158,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
158
158
|
- - ! '>='
|
|
159
159
|
- !ruby/object:Gem::Version
|
|
160
160
|
version: '0'
|
|
161
|
+
segments:
|
|
162
|
+
- 0
|
|
163
|
+
hash: -516272427415792586
|
|
161
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
165
|
none: false
|
|
163
166
|
requirements:
|
|
164
167
|
- - ! '>='
|
|
165
168
|
- !ruby/object:Gem::Version
|
|
166
169
|
version: '0'
|
|
170
|
+
segments:
|
|
171
|
+
- 0
|
|
172
|
+
hash: -516272427415792586
|
|
167
173
|
requirements: []
|
|
168
174
|
rubyforge_project:
|
|
169
175
|
rubygems_version: 1.8.24
|