-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,8 @@ protected function configure(): void | |
->acceptEnvironmentId() | ||
->setHelp('This command builds a sanitized deploy artifact by running <options=bold>composer install</>, removing sensitive files, and committing vendor directories.' . PHP_EOL . PHP_EOL | ||
Check warning on line 58 in src/Command/Push/PushArtifactCommand.php GitHub Actions / Mutation Testing
Check warning on line 58 in src/Command/Push/PushArtifactCommand.php GitHub Actions / Mutation Testing
Check warning on line 58 in src/Command/Push/PushArtifactCommand.php GitHub Actions / Mutation Testing
Check warning on line 58 in src/Command/Push/PushArtifactCommand.php GitHub Actions / Mutation Testing
Check warning on line 58 in src/Command/Push/PushArtifactCommand.php GitHub Actions / Mutation Testing
Check warning on line 58 in src/Command/Push/PushArtifactCommand.php GitHub Actions / Mutation Testing
Check warning on line 58 in src/Command/Push/PushArtifactCommand.php GitHub Actions / Mutation Testing
|
||
. 'Vendor directories and scaffold files are committed to the build artifact even if they are ignored in the source repository.' . PHP_EOL . PHP_EOL | ||
. 'To run additional build or sanitization steps (e.g. <options=bold>npm install</>), add a <options=bold>post-install-cmd</> script to your <options=bold>composer.json</> file: https://getcomposer.org/doc/articles/scripts.md#command-events') | ||
. 'To run additional build or sanitization steps (e.g. <options=bold>npm install</>), add a <options=bold>post-install-cmd</> script to your <options=bold>composer.json</> file: https://getcomposer.org/doc/articles/scripts.md#command-events' . PHP_EOL . PHP_EOL | ||
. 'This command is designed for a specific scenario in which there are two branches or repositories involved: a source branch without vendor files committed, and an artifact branch with them. If both your source and destination branches are the same, you should simply use git push instead.') | ||
->addUsage('--destination-git-branch=main-build') | ||
->addUsage('--source-git-tag=foo-build --destination-git-tag=1.0.0') | ||
->addUsage('[email protected]:example.git [email protected]:example.git --destination-git-branch=main-build'); | ||
|