capistrano 3.0.0.pre12 → 3.0.0.pre13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/tasks/deploy.rake +2 -2
- data/lib/capistrano/tasks/git.rake +1 -0
- data/lib/capistrano/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c30b25d97cfa811596b16d276fb221d0ea55ac9a
|
4
|
+
data.tar.gz: 2fcf56587e9193ed85b61e822fcd73bf7ecf4809
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 589c4f870e7f58a316ed3f5cad74b3febbcc3c4ededb3dfb30decdee293c09030c2f75f4f180c9e504bd2825d32d5b452c08c94a77d9c31eca281686ae658b19
|
7
|
+
data.tar.gz: 20f0cc7c0cad5561b3e9bad0e048d63c6912f4ef5b12a5cac05625090fc99640125f4254be236bcdd46e8f0831c83813ff6572181d6c739e37755c97599829f9
|
@@ -113,7 +113,7 @@ namespace :deploy do
|
|
113
113
|
desc 'Clean up old releases'
|
114
114
|
task :cleanup do
|
115
115
|
on roles :all do |host|
|
116
|
-
releases = capture(:ls, '-
|
116
|
+
releases = capture(:ls, '-x', releases_path).split
|
117
117
|
if releases.count >= fetch(:keep_releases)
|
118
118
|
info t(:keeping_releases, host: host.to_s, keep_releases: fetch(:keep_releases), releases: releases.count)
|
119
119
|
directories = (releases - releases.last(fetch(:keep_releases))).map { |release|
|
@@ -135,7 +135,7 @@ namespace :deploy do
|
|
135
135
|
desc 'Rollback to the last release'
|
136
136
|
task :rollback do
|
137
137
|
on roles(:all) do
|
138
|
-
last_release = capture(:ls, '-
|
138
|
+
last_release = capture(:ls, '-xr', releases_path).split[1]
|
139
139
|
set(:rollback_release_timestamp, last_release)
|
140
140
|
set(:branch, last_release)
|
141
141
|
set(:revision_log_message, rollback_log_message)
|
data/lib/capistrano/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.pre13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Clements
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sshkit
|