Skip to content

Commit

Permalink
Fix time format for touch when deploying assets
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleylancel committed Oct 19, 2017
1 parent 72ef144 commit 8197217
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Added support for GroupTask in invoke() [#1364]
- Magento2 recipe optimizes the autoloader after the DI compilation [#1365]
- Host's `roles()` API now can accept arrays too
- Fixed bug where wrong time format is passed to touch when deploying assets [#1390]

## v6.0.3
[v6.0.2...v6.0.3](https://github.com/deployphp/deployer/compare/v6.0.2...v6.0.3)
Expand Down Expand Up @@ -379,3 +380,4 @@
[#911]: https://github.com/deployphp/deployer/pull/911
[#381]: https://github.com/deployphp/deployer/pull/381
[#330]: https://github.com/deployphp/deployer/pull/330
[#1390]: https://github.com/deployphp/deployer/pull/1390
2 changes: 1 addition & 1 deletion recipe/symfony.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
return "{{release_path}}/$asset";
}, get('assets')));

run(sprintf('find %s -exec touch -t %s {} \';\' &> /dev/null || true', $assets, date('Ymdhi.s')));
run(sprintf('find %s -exec touch -t %s {} \';\' &> /dev/null || true', $assets, date('YmdHi.s')));
})->desc('Normalize asset timestamps');


Expand Down

0 comments on commit 8197217

Please sign in to comment.