mirror of
https://ghproxy.net/https://github.com/wp-cli/scaffold-package-command.git
synced 2025-08-20 22:57:27 +08:00
Update CircleCI paths for command too
This commit is contained in:
parent
2cf3369b27
commit
65be3044e0
1 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ EOT;
|
|||
if ( file_exists( $package_dir . '/.travis.yml' ) ) {
|
||||
$shields[] = "[](https://travis-ci.org/{$readme_args['package_name']})";
|
||||
}
|
||||
if ( file_exists( $package_dir . '/circle.yml' ) ) {
|
||||
if ( file_exists( $package_dir . '/.circleci/config.yml' ) ) {
|
||||
$shields[] = "[](https://circleci.com/gh/{$readme_args['package_name']}/tree/{$branch})";
|
||||
}
|
||||
|
||||
|
@ -678,7 +678,7 @@ EOT;
|
|||
$travis_append = file_get_contents( $package_dir . 'travis-append.yml' );
|
||||
}
|
||||
} elseif ( 'circle' === $assoc_args['ci'] ) {
|
||||
$copy_source[ $package_root ]['circle.yml'] = $package_dir;
|
||||
$copy_source[ $package_root ]['.circleci/config.yml'] = $package_dir;
|
||||
}
|
||||
|
||||
$files_written = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue