publish-plugin-favorite.sh 321 B

12345678910111213
  1. #!/bin/bash
  2. cd ../
  3. rm -rf plugin-favorite
  4. git clone https://git.finogeeks.club/finoapp-desktop/plugin-favorite.git
  5. cd plugin-favorite
  6. yarn
  7. yarn build
  8. cd dist && zip -q -r dist.zip *
  9. cd ../../
  10. rm -rf static/favorite
  11. mkdir -p static/favorite
  12. unzip -o plugin-favorite/dist/dist.zip -d static/favorite
  13. rm -rf plugin-favorite