github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/release/local/update.sh (about) 1 #!/usr/bin/env bash 2 3 set -e -o pipefail 4 5 DIR=$(dirname "$0") 6 PROJECT=$DIR/../.. 7 8 pushd $PROJECT 9 git fetch 10 git reset FETCH_HEAD --hard 11 git clean -fdx 12 popd 13 14 $DIR/reinstall.sh