From cadd36a576fed2af1e136c441aed8fc61fd33b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Monta=C3=B1ez?= Date: Mon, 17 Jun 2013 22:41:08 -0300 Subject: [PATCH] Add "post-release" tasks in default environment yaml. --- Mage/Command/BuiltIn/Add.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mage/Command/BuiltIn/Add.php b/Mage/Command/BuiltIn/Add.php index 44db642..c6f6b16 100644 --- a/Mage/Command/BuiltIn/Add.php +++ b/Mage/Command/BuiltIn/Add.php @@ -52,7 +52,9 @@ class Mage_Command_BuiltIn_Add . ' pre-deploy:' . PHP_EOL . ' on-deploy:' . PHP_EOL . ' - deployment/rsync' . PHP_EOL + . ($withReleases ? (' post-release:' . PHP_EOL) : '') . ' post-deploy:' . PHP_EOL; + $result = file_put_contents($environmentConfigFile, $baseConfig); if ($result) {