1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 03:57:50 +03:00

deploy internal test snapshot

This commit is contained in:
Anton Afanasyeu
2026-05-26 16:43:36 +03:00
parent 64b449f6cd
commit e319965e0f
4 changed files with 12 additions and 33 deletions

View File

@@ -6,7 +6,14 @@ cp -f $0 /tmp/$0.backup || exit $?
git reset --hard || exit $?
cp -f ./examples/crash_reporter/backend/config/config.php.alpine /tmp/ || exit $?
cp -f ./examples/crash_reporter/backend/config/config.php.alpine ./examples/crash_reporter/backend/config/config.php || exit $?
[ "yes" = "${CLEAN}" ] && git clean -xdf
if [ "yes" = "${CLEAN}" ]; then
echo "auto cleanup - tidying working branch"
git clean -xdf
fi
echo "working branch: ${BRANCH}"
git checkout ${BRANCH} || exit $?
git status || exit $?
git pull --rebase || exit $?
[ -f ./examples/crash_reporter/backend/config/config.php.alpine ] && \
cp -f ./examples/crash_reporter/backend/config/config.php.alpine cp -f ./examples/crash_reporter/backend/config/config.php ||:
sudo -E /etc/init.d/mariadb restart; sudo -E /etc/init.d/php-fpm81 restart; sudo -E /etc/init.d/nginx restart; sudo -E /etc/init.d/gitea restart;