From 3f7d4defbbd209d46a6086aa8058def2e00d88ab Mon Sep 17 00:00:00 2001 From: Gregor Harlan Date: Tue, 21 May 2024 14:02:04 +0200 Subject: [PATCH 1/2] Build-Command: Info ohne Release-Nummer --- deployer/tasks/build.php | 2 +- deployer/tasks/build/info.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 deployer/tasks/build/info.php diff --git a/deployer/tasks/build.php b/deployer/tasks/build.php index 9404609..be64087 100644 --- a/deployer/tasks/build.php +++ b/deployer/tasks/build.php @@ -4,7 +4,7 @@ desc('Prepare the next release locally'); task('build', [ - 'deploy:info', + 'build:info', 'build:setup', 'build:vendors', 'build:assets', diff --git a/deployer/tasks/build/info.php b/deployer/tasks/build/info.php new file mode 100644 index 0000000..ddf287e --- /dev/null +++ b/deployer/tasks/build/info.php @@ -0,0 +1,8 @@ +{{target}}'); +}); From a9dd9dd1a559f76b818af125d47fe0301d9bc49a Mon Sep 17 00:00:00 2001 From: gharlan Date: Tue, 21 May 2024 12:04:21 +0000 Subject: [PATCH 2/2] Apply php-cs-fixer changes --- deployer/tasks/build/info.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployer/tasks/build/info.php b/deployer/tasks/build/info.php index ddf287e..2b5ebbc 100644 --- a/deployer/tasks/build/info.php +++ b/deployer/tasks/build/info.php @@ -3,6 +3,6 @@ namespace Deployer; desc('Displays info about build'); -task('build:info', function () { +task('build:info', static function () { info('building {{target}}'); });