This is a convenient way to upgrade, and is certainly a good thing for development / testing environments. On a busy site there might be a slim risk this technique could be problematic. Although the file system is updated in an atomic transaction, a web browser could still read from both the old and new versions of the site.

For example an unfortunate user might request a JavaScript file from the “current” release, because an HTML document from the previous “current” release referenced it. If this is a concern, steps could be taken to make the JavaScript code backwards compatible.

Also a resource removed by the “next” release, may result in an HTTP 404 error. Whether that actually breaks anything depends entirely how your website works though.