capistrano-former03 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/former03/version.rb +1 -1
- data/lib/capistrano/tasks/former03.rake +4 -3
- 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: 8cd1a8445f6a91c1c5331272b6cea9bc870dbe44
|
4
|
+
data.tar.gz: 1c59d92802d8499bce4df45041ba6951060a686b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85996e917d9f20fabc72e9c6a6b5c0a5bce38f78c8d5667b1a400ab5c9042685a3b9e0ed7344241862ba08b27fff5ab1a455188ba7810707514badb019b73d22
|
7
|
+
data.tar.gz: a7c309bc538f081ac72975a065baf3acd347b6a15a14c16b23ff5c480ccf94e525f83a9895eeee042274274fc6d59e441e817deece4966419dc79b0a4d46649c
|
@@ -275,7 +275,7 @@ namespace :former03 do
|
|
275
275
|
desc 'Move release to current instead of symlinking'
|
276
276
|
task :release_move do
|
277
277
|
on release_roles :all do
|
278
|
-
cp = current_path.join('
|
278
|
+
cp = current_path.join('')
|
279
279
|
current_path = cp
|
280
280
|
current_version_path = current_path.to_s + ".version"
|
281
281
|
|
@@ -288,8 +288,9 @@ namespace :former03 do
|
|
288
288
|
else
|
289
289
|
execute :rm, '-rf', current_path
|
290
290
|
end
|
291
|
-
|
292
|
-
execute :
|
291
|
+
|
292
|
+
execute :mkdir, '-pv', "#{releases_path}/current"
|
293
|
+
execute :rsync,'-avz', "#{release_path}/", "#{releases_path}/current"
|
293
294
|
execute :echo, '-n', File.basename(release_path), '>', current_version_path
|
294
295
|
|
295
296
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-former03
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Simon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|