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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6ad470f180381b91c482db5c59dca388c7555b0
4
- data.tar.gz: edfba871faea005ef208ac8c2e0dad9fee8bef8b
3
+ metadata.gz: 8cd1a8445f6a91c1c5331272b6cea9bc870dbe44
4
+ data.tar.gz: 1c59d92802d8499bce4df45041ba6951060a686b
5
5
  SHA512:
6
- metadata.gz: 16df7d0215ae2bda01faaded78fb73b4d3a595f3142273f226478be0bce1eac7293c41bb28e34563d9d64a8f9819780388d9a56bae1c822e0895ae9c9ac2446f
7
- data.tar.gz: b0ecb7d7324eed0ee752601856a81871ad0a2f99744947470342d06369dc3edda5f46913ee0814ca842913e3e595abf6ecb388f63745bcd63fbce1a644b9daba
6
+ metadata.gz: 85996e917d9f20fabc72e9c6a6b5c0a5bce38f78c8d5667b1a400ab5c9042685a3b9e0ed7344241862ba08b27fff5ab1a455188ba7810707514badb019b73d22
7
+ data.tar.gz: a7c309bc538f081ac72975a065baf3acd347b6a15a14c16b23ff5c480ccf94e525f83a9895eeee042274274fc6d59e441e817deece4966419dc79b0a4d46649c
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Former03
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
5
5
  end
@@ -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('current')
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 :mv, release_path, current_path
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.2
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-03-16 00:00:00.000000000 Z
11
+ date: 2016-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano