Deb/assets cleanup (#35748)
* Add assets clean up to build:zip * Add changelog file
This commit is contained in:
parent
487e7d0031
commit
59a17b1b56
|
@ -9,6 +9,9 @@ echo "Generating build directory..."
|
||||||
rm -rf "$BUILD_PATH"
|
rm -rf "$BUILD_PATH"
|
||||||
mkdir -p "$DEST_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..."
|
echo "Installing PHP and JS dependencies..."
|
||||||
pnpm install
|
pnpm install
|
||||||
echo "Running JS Build..."
|
echo "Running JS Build..."
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Clean up assets when building zip.
|
Loading…
Reference in New Issue