mirror of
https://git.um-react.app/um/web.git
synced 2026-04-11 02:26:55 +00:00
fix: keep dist after legacy has built
This commit is contained in:
@@ -20,4 +20,10 @@ esac
|
|||||||
|
|
||||||
mv dist "${DIST_NAME}"
|
mv dist "${DIST_NAME}"
|
||||||
zip -rJ9 "${DIST_NAME}.zip" "${DIST_NAME}"
|
zip -rJ9 "${DIST_NAME}.zip" "${DIST_NAME}"
|
||||||
rm -rf "${DIST_NAME}"
|
|
||||||
|
if [ "$1" == "legacy" ]; then
|
||||||
|
# For upcoming extension build
|
||||||
|
mv "${DIST_NAME}" dist
|
||||||
|
else
|
||||||
|
rm -rf "${DIST_NAME}"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user