Browse Source

fix: keep dist after legacy has built

20230320
Jixun 2 years ago
parent
commit
9b3dfc0ed6
  1. 6
      scripts/build-and-package.sh

6
scripts/build-and-package.sh

@ -20,4 +20,10 @@ esac
mv dist "${DIST_NAME}"
zip -rJ9 "${DIST_NAME}.zip" "${DIST_NAME}"
if [ "$1" == "legacy" ]; then
# For upcoming extension build
mv "${DIST_NAME}" dist
else
rm -rf "${DIST_NAME}"
fi

Loading…
Cancel
Save