install.sh: rerun when updated (#25)

* install.sh: rerun when updated

* update ci
This commit is contained in:
2022-11-12 20:05:29 +08:00
committed by GitHub
parent 9a7f0b1b06
commit 995899f3a3
3 changed files with 24 additions and 11 deletions

View File

@@ -34,6 +34,14 @@ dfs version
test `git rev-parse HEAD` = `curl -fsSL https://api.beardic.cn/get-var/dfs-commit-id`
# clean
dfs cd
git reset --hard $DFS_VERSION
# then check install.sh
./install.sh -l
dfs version
test `git rev-parse HEAD` = `curl -fsSL https://api.beardic.cn/get-var/dfs-commit-id`
# clean
git reset --hard $DFS_VERSION
set +x