lib/fulmar/infrastructure/model/transfer/rsync_with_versions.rb in fulmar-2.2.0 vs lib/fulmar/infrastructure/model/transfer/rsync_with_versions.rb in fulmar-2.2.1

- old
+ new

@@ -174,10 +174,13 @@ end # Copies the data from the sync temp to the actual release directory # @return [true, false] success def copy_temp_to_release - @remote_shell.run "cp -pR #{@config[:temp_dir]} #{release_dir}" + @remote_shell.run [ + "cp -pR #{@config[:temp_dir]} #{release_dir}", + "touch #{release_dir}" + ] end # Set the symlink to the given release or the return value of release_dir() otherwise # # @params release [String] the release folder