Deb/assets cleanup (#35748)

* Add assets clean up to build:zip

* Add changelog file
This commit is contained in:
Roy Ho 2022-11-28 12:18:10 -08:00 committed by GitHub
parent 487e7d0031
commit 59a17b1b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,9 @@ echo "Generating build directory..."
rm -rf "$BUILD_PATH"
mkdir -p "$DEST_PATH"
echo "Cleaning up assets..."
find "$PROJECT_PATH/assets/css/." ! -name '.gitkeep' -type f -exec rm -f {} + && find "$PROJECT_PATH/assets/client/." ! -name '.gitkeep' -type f -exec rm -f {} + && find "$PROJECT_PATH/assets/js/." ! -name '.gitkeep' -type f -exec rm -f {} +
echo "Installing PHP and JS dependencies..."
pnpm install
echo "Running JS Build..."

View File

@ -0,0 +1,3 @@
Significance: patch
Type: dev
Comment: Clean up assets when building zip.