Skip to content

Commit 0192768

Browse files
0x46616c6bOpenCode
andauthored
🐛 Fix release build to include bundle assets (#1065)
Run `bin/console assets:install` during the build target so that assets from Symfony bundles (e.g. Symfony UX, Sonata) are present in the release artifact. Co-authored-by: OpenCode <noreply@opencode.ai>
1 parent f6e9bb9 commit 0192768

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ build: clean prepare
2121
composer install --no-dev --ignore-platform-reqs --no-scripts; \
2222
APP_ENV=prod ${SQLITE_DB_URL} \
2323
composer dump-autoload; \
24+
APP_ENV=prod ${SQLITE_DB_URL} \
25+
bin/console assets:install --no-interaction; \
2426
yarn --pure-lockfile; \
2527
yarn encore production
2628

0 commit comments

Comments
 (0)