Also remove asset directory upon release

Otherwise, updated assets will not be taken into account when
creating snapshot releases.
This commit is contained in:
Eric Lippmann 2021-11-08 11:54:08 +01:00
parent 92f1fa39d6
commit f11035ba51
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ else
BRANCH=$(git rev-parse --abbrev-ref HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD)
fi fi
git rm -rf --ignore-unmatch vendor git rm -rf --ignore-unmatch asset vendor
rm -rf vendor rm -rf asset vendor
rm -f composer.lock rm -f composer.lock
composer install --no-scripts || fail "composer install failed" composer install --no-scripts || fail "composer install failed"
composer run-script post-update-cmd -- copy-assets composer run-script post-update-cmd -- copy-assets