Skip to content

Commit 6708d26

Browse files
committed
Fix time format for touch when deploying assets
1 parent 72ef144 commit 6708d26

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Added support for GroupTask in invoke() [#1364]
88
- Magento2 recipe optimizes the autoloader after the DI compilation [#1365]
99
- Host's `roles()` API now can accept arrays too
10+
- Fixed bug where wrong time format is passed to touch when deploying assets [#1390]
1011

1112
## v6.0.3
1213
[v6.0.2...v6.0.3](https://github.com/deployphp/deployer/compare/v6.0.2...v6.0.3)
@@ -314,6 +315,7 @@
314315
- Fixed remove of shared dir on first deploy
315316

316317

318+
[#1390]: https://github.com/deployphp/deployer/pull/1390
317319
[#1365]: https://github.com/deployphp/deployer/pull/1365
318320
[#1364]: https://github.com/deployphp/deployer/pull/1364
319321
[#1352]: https://github.com/deployphp/deployer/pull/1352

recipe/symfony.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
return "{{release_path}}/$asset";
8585
}, get('assets')));
8686

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

9090

0 commit comments

Comments
 (0)