Ensure the stability of use (#380)
I think we can add tag selection commands in the setup.sh script, such as git checkout v0.5.1, to ensure the stability of use #379
This commit is contained in:
@@ -18,6 +18,7 @@ fi
|
|||||||
test -d "$GKI_ROOT/KernelSU" || git clone https://github.com/tiann/KernelSU
|
test -d "$GKI_ROOT/KernelSU" || git clone https://github.com/tiann/KernelSU
|
||||||
cd "$GKI_ROOT/KernelSU"
|
cd "$GKI_ROOT/KernelSU"
|
||||||
git stash && git pull
|
git stash && git pull
|
||||||
|
git checkout "$(git describe --abbrev=0 --tags)"
|
||||||
cd "$GKI_ROOT"
|
cd "$GKI_ROOT"
|
||||||
|
|
||||||
echo "[+] GKI_ROOT: $GKI_ROOT"
|
echo "[+] GKI_ROOT: $GKI_ROOT"
|
||||||
|
|||||||
Reference in New Issue
Block a user