publish-finchat.sh 458 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. cd ../
  3. rm -rf FinChat
  4. git clone https://git.finogeeks.club/finoapp-desktop/FinChat.git
  5. cd FinChat
  6. yarn
  7. yarn build:inner
  8. yarn build:test
  9. yarn build:public
  10. cd ../
  11. rm -rf static/inner
  12. mkdir -p static/inner
  13. unzip -o FinChat/dist/inner.zip -d static/inner
  14. rm -rf static/test
  15. mkdir -p static/test
  16. unzip -o FinChat/dist/test.zip -d static/test
  17. rm -rf static/public
  18. mkdir -p static/public
  19. unzip -o FinChat/dist/public.zip -d static/public
  20. rm -rf FinChat