Also remove asset directory upon release
Otherwise, updated assets will not be taken into account when creating snapshot releases.
This commit is contained in:
parent
92f1fa39d6
commit
f11035ba51
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue