publish-plugin-auth.sh 289 B

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