fix: Android bundling
All checks were successful
conventional commit messages check / conventional commit messages check (pull_request) Successful in 7s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 7s
GitLeaks check / GitLeaks check (pull_request) Successful in 11s
Rust check / Rust check (pull_request) Successful in 12m57s
hadolint check / hadolint check (pull_request) Successful in 19s
htmlhint check / htmlhint check (pull_request) Successful in 33s
markdownlint check / markdownlint check (pull_request) Successful in 28s
Prettier check / Prettier check (pull_request) Successful in 28s
ShellCheck check / ShellCheck check (pull_request) Successful in 34s
Stylelint check / Stylelint check (pull_request) Successful in 30s
checkov check / checkov check (pull_request) Successful in 1m27s
yamllint check / yamllint check (pull_request) Successful in 25s
actionlint check / actionlint check (pull_request) Successful in 6s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 3s

This commit is contained in:
2025-12-18 22:39:58 +01:00
parent 32c12186c1
commit 0bca3ff872
5 changed files with 42 additions and 21 deletions

View File

@@ -1,4 +1,12 @@
#!/bin/sh
mkdir -p ../bundle \
&& docker compose -f docker-compose-prod.yaml cp app:/srv/app/android bundle
echo "Warning: This script needs to stop any currently running Docker compose stacks. Stopping them now..."
docker compose down
mkdir -p bundle/android bundle/temp \
&& docker compose -f docker-compose-prod.yaml -f docker-compose-android-bundle.yaml up --build --no-start --no-deps app \
&& docker compose -f docker-compose-prod.yaml -f docker-compose-android-bundle.yaml cp app:/srv/app/bundle bundle/temp \
&& mv bundle/temp/bundle/* bundle/android \
&& rm -r bundle/temp
echo "Warning: If a running Docker compose stack has been stopped by this script, you may want to bring it up again now."