Skip to content

Commit c285ae6

Browse files
Merge pull request #19249 from MauricioFauth/releases-excludes-fixes
Clean up files found by check-release-excludes script
2 parents ddd3d98 + ee58935 commit c285ae6

4 files changed

Lines changed: 15 additions & 11 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ cache.properties
6161
phpstan.neon
6262
# Infection
6363
infection.json5
64-
/public/build/
6564
/js/
6665
/setup/
6766
/themes/

bin/internal/check-release-excludes.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ validateExtension() {
3636
extension="${filename##*.}"
3737

3838
case $pathWithoutFirst in
39-
docs/*)
39+
public/docs/*)
4040
if [ "${extension}" != "png" ] && [ "${extension}" != "txt" ] &&
4141
[ "${extension}" != "html" ] && [ "${extension}" != "js" ] &&
4242
[ "${extension}" != "css" ] && [ "${extension}" != "gif" ]; then
@@ -139,7 +139,8 @@ validateExtension() {
139139
[ "${filename}" != "README.md" ] && [ "${filename}" != "BACKERS.md" ] &&
140140
[ "${filename}" != "LICENSE.md" ] && [ "${filename}" != "ARCHITECTURE.md" ] &&
141141
[ "${filename}" != "LICENSE.txt" ] && [ "${filename}" != "AUTHORS" ] &&
142-
[ "${filename}" != "LICENCE.md" ] && [ "${filename}" != "LICENCE" ]; then
142+
[ "${filename}" != "LICENCE.md" ] && [ "${filename}" != "LICENCE" ] &&
143+
[ "${filename}" != "COPYRIGHT.md" ]; then
143144
foundFileExt
144145
fi
145146
;;

bin/internal/create-release.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,11 @@ cleanup_composer_vendors() {
243243
vendor/spomky-labs/cbor-php/infection.json.dist \
244244
vendor/spomky-labs/cbor-php/phpstan.neon \
245245
vendor/thecodingmachine/safe/generated/Exceptions/.gitkeep \
246-
vendor/thecodingmachine/safe/rector-migrate-0.7.php
246+
vendor/thecodingmachine/safe/rector-migrate-0.7.php \
247+
vendor/phpmyadmin/motranslator/psalm-baseline.xml \
248+
vendor/phpmyadmin/motranslator/psalm.xml \
249+
vendor/slim/psr7/phpunit.xml.dist \
250+
vendor/slim/psr7/tests/
247251
find vendor/tecnickcom/tcpdf/fonts/ -maxdepth 1 -type f \
248252
-not -name 'dejavusans.*' \
249253
-not -name 'dejavusansb.*' \
@@ -525,7 +529,7 @@ echo "* Installing composer packages '$PACKAGES_VERSIONS'"
525529

526530
# Allows word splitting
527531
# shellcheck disable=SC2086
528-
composer require --no-interaction $PACKAGES_VERSIONS
532+
composer require --no-interaction --update-no-dev $PACKAGES_VERSIONS
529533

530534
echo "* Running a security checkup"
531535
security_checkup

webpack.config.cjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ module.exports = [
186186
mode: 'none',
187187
devtool: 'source-map',
188188
entry: {
189-
'themes/bootstrap/css/theme': publicPath + '/themes/bootstrap/scss/theme.scss',
190-
'themes/metro/css/theme': publicPath + '/themes/metro/scss/theme.scss',
191-
'themes/original/css/theme': publicPath + '/themes/original/scss/theme.scss',
192-
'themes/pmahomme/css/theme': publicPath + '/themes/pmahomme/scss/theme.scss',
193-
'setup/styles': publicPath + '/setup/scss/styles.scss',
189+
'public/themes/bootstrap/css/theme': publicPath + '/themes/bootstrap/scss/theme.scss',
190+
'public/themes/metro/css/theme': publicPath + '/themes/metro/scss/theme.scss',
191+
'public/themes/original/css/theme': publicPath + '/themes/original/scss/theme.scss',
192+
'public/themes/pmahomme/css/theme': publicPath + '/themes/pmahomme/scss/theme.scss',
193+
'public/setup/styles': publicPath + '/setup/scss/styles.scss',
194194
},
195195
output: {
196196
filename: 'build/css/[name].js',
197-
path: publicPath,
197+
path: rootPath,
198198
},
199199
module: {
200200
rules: [

0 commit comments

Comments
 (0)