Skip to content

Commit 72d9c61

Browse files
committed
Update create-release.sh for the Infection config
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent bf247e8 commit 72d9c61

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
.weblate export-ignore
1212
codecov.yml export-ignore
1313
build.xml export-ignore
14-
infection.json.dist export-ignore
14+
infection.json5.dist export-ignore
1515
phpcs.xml.dist export-ignore
1616
phpstan.neon.dist export-ignore
1717
phpstan-baseline.neon export-ignore

scripts/check-release-excludes.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,9 @@ for filePath in ${FILE_LIST}; do
270270
foundFile;;
271271
*/infection.json)
272272
foundFile;;
273-
*/infection.json.dist)
273+
*/infection.json5.dist)
274+
foundFile;;
275+
*/infection.json5)
274276
foundFile;;
275277
*/makefile)
276278
foundFile;;

scripts/create-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ for kit in $KITS ; do
617617
# Template test files
618618
rm -r templates/test/
619619
rm phpunit.xml.* build.xml
620-
rm .editorconfig .browserslistrc .eslintignore .jshintrc .eslintrc.json .stylelintrc.json psalm.xml psalm-baseline.xml phpstan.neon.dist phpstan-baseline.neon phpcs.xml.dist jest.config.cjs infection.json.dist
620+
rm .editorconfig .browserslistrc .eslintignore .jshintrc .eslintrc.json .stylelintrc.json psalm.xml psalm-baseline.xml phpstan.neon.dist phpstan-baseline.neon phpcs.xml.dist jest.config.cjs infection.json5.dist
621621
# Gettext po files (if they were not removed by ./scripts/lang-cleanup.sh)
622622
rm -rf po
623623
# Documentation source code

0 commit comments

Comments
 (0)