sing-box/release/local/update.sh
2022-08-11 11:45:33 +08:00

14 lines
172 B
Bash
Executable file

#!/usr/bin/env bash
set -e -o pipefail
DIR=$(dirname "$0")
PROJECT=$DIR/../..
pushd $PROJECT
git fetch
git reset FETCH_HEAD --hard
git clean -fdx
popd
$DIR/reinstall.sh