alpha_omega 0.0.138 → 0.0.139
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
|
-
0.0.
|
|
1
|
+
0.0.139
|
data/lib/alpha_omega/deploy.rb
CHANGED
|
@@ -318,7 +318,7 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
|
318
318
|
run "ln -vsnf #{rollback_release} #{previous_path}"
|
|
319
319
|
end
|
|
320
320
|
|
|
321
|
-
system "#{figlet} -w 200 #{
|
|
321
|
+
system "#{figlet} -w 200 #{current_release_name} activated"
|
|
322
322
|
end
|
|
323
323
|
end
|
|
324
324
|
|
|
@@ -609,7 +609,7 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
|
609
609
|
|
|
610
610
|
on :exit do
|
|
611
611
|
unless local_only
|
|
612
|
-
put full_log, "#{log_path}/#{application}
|
|
612
|
+
put full_log, "#{log_path}/#{application}-#{ENV["AO_USER"]}.log-#{Time.now.strftime('%Y%m%d-%H%M')}"
|
|
613
613
|
end
|
|
614
614
|
end
|
|
615
615
|
|
|
@@ -11,7 +11,7 @@ module Capistrano
|
|
|
11
11
|
|
|
12
12
|
# Returns the SCM's checkout command for the revision to deploy.
|
|
13
13
|
def commands
|
|
14
|
-
@commands ||= source.checkout(revision, configuration[:
|
|
14
|
+
@commands ||= source.checkout(revision, configuration[:current_release])
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
|
|
@@ -35,7 +35,7 @@ module Capistrano
|
|
|
35
35
|
# Returns the command which will write the identifier of the
|
|
36
36
|
# revision being deployed to the REVISION file on each host.
|
|
37
37
|
def mark
|
|
38
|
-
"echo #{revision} > #{configuration[:
|
|
38
|
+
"echo #{revision} > #{configuration[:current_release]}/REVISION"
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alpha_omega
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 265
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 139
|
|
10
|
+
version: 0.0.139
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- David Nghiem
|