update_clients.sh 215 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. PROJECTS=$(dirname "$0")/../..
  3. function updateClient() {
  4. pushd clients/$1
  5. git fetch
  6. git reset FETCH_HEAD --hard
  7. popd
  8. git add clients/$1
  9. }
  10. updateClient "apple"
  11. updateClient "android"