Merge pull request #17714 from mikedougherty/cs-release-fixes
Fixes for release scripts Upstream-commit: ae1fadeb96c8f64f1eebe2b729c07048398de013 Component: engine
This commit is contained in:
@ -257,7 +257,7 @@ main() {
|
||||
# We want this to fail if the bundles already exist and cannot be removed.
|
||||
# This is to avoid mixing bundles from different versions of the code.
|
||||
mkdir -p bundles
|
||||
if [ -e "bundles/$VERSION" ]; then
|
||||
if [ -e "bundles/$VERSION" ] && [ -z "$KEEPBUNDLE" ]; then
|
||||
echo "bundles/$VERSION already exists. Removing."
|
||||
rm -fr "bundles/$VERSION" && mkdir "bundles/$VERSION" || exit 1
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user