|
6 | 6 | * Default extensions for deploy tasks |
7 | 7 | */ |
8 | 8 |
|
9 | | -before('rollback', 'feature:init'); |
| 9 | +/* |
| 10 | + * deploy:info resolves {{release_name}} and deployer caches it for the rest of the |
| 11 | + * run. Without this hook the counter is read from the base path and the cached name |
| 12 | + * then collides in deploy:release, so the feature instance has to exist by now. |
| 13 | + */ |
| 14 | +before('deploy:info', 'feature:init'); |
| 15 | + |
| 16 | +before('rollback', 'feature:select'); |
10 | 17 | before('deploy:unlock', 'feature:init'); |
11 | 18 | before('feature:sync', 'feature:init'); |
12 | 19 | before('deploy:setup', 'feature:setup'); |
|
16 | 23 | before('feature:sync', 'feature:wait_for_database'); |
17 | 24 | before('deploy:database:update', 'feature:wait_for_database'); |
18 | 25 | after('deploy:symlink', 'feature:urlshortener'); |
19 | | -before('feature:sync', 'feature:init'); |
20 | | -before('debug:db', 'feature:init'); |
21 | | -before('debug:ssh', 'feature:init'); |
22 | | -before('debug:log:app', 'feature:init'); |
| 26 | +before('debug:db', 'feature:select'); |
| 27 | +before('debug:ssh', 'feature:select'); |
| 28 | +before('debug:log:app', 'feature:select'); |
0 commit comments