github.com/sagernet/sing-box@v1.9.0-rc.20/.github/update_clients.sh (about)

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