capify-ec2 1.4.8 → 1.4.9

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.4.9 (May 17, 2013)
2
+
3
+ Bugfixes:
4
+
5
+ - Determine and set the real SCM revision explicitly, before beginning the rolling deployment. This is to prevent changes made to SCM during deployment from being inadvertently released.
6
+
1
7
  ## 1.4.8 (May 17, 2013)
2
8
 
3
9
  Features:
@@ -89,6 +89,11 @@ Capistrano::Configuration.instance(:must_exist).load do
89
89
  load_balancer_to_reregister = nil
90
90
 
91
91
  begin
92
+
93
+ # Fetch and set the real revision (eg/ Git ref) now, so any changes made to SCM during deployment will not be inadvertently included.
94
+ puts "[Capify-EC2] Determining release revision..."
95
+ set :revision, (fetch :real_revision)
96
+
92
97
  all_servers.each do |server_dns,server_roles|
93
98
 
94
99
  roles.clear
@@ -1,6 +1,6 @@
1
1
  module Capify
2
2
  module Ec2
3
- VERSION = "1.4.8"
3
+ VERSION = "1.4.9"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capify-ec2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 8
10
- version: 1.4.8
9
+ - 9
10
+ version: 1.4.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Noah Cantor