mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-24 21:46:52 +08:00
update.sh use beacon; ci test beacon
This commit is contained in:
parent
45d1d1de69
commit
1abc0ea646
|
@ -32,11 +32,10 @@ fi
|
|||
# update
|
||||
if [[ "$(git rev-parse HEAD)" == "$DFS_COMMIT" ]]; then
|
||||
fmt_info "nothing to do"
|
||||
post_log "INFO" "$THIS_FILE" "nothing to do"
|
||||
else
|
||||
fmt_info "checking out to commit $DFS_COMMIT ..."
|
||||
if [[ -z "$DFS_DEV" ]]; then
|
||||
post_log "INFO" "$THIS_FILE" "will check out to commit $DFS_COMMIT"
|
||||
post_beacon "dfs-update"
|
||||
git -c advice.detachedHead=false checkout $DFS_COMMIT
|
||||
cp ./.update.sh ./update.sh && chmod +x ./update.sh && exit $DFS_UPDATED_RET
|
||||
else
|
||||
|
|
|
@ -17,6 +17,7 @@ grep -q ".zshrc2" ~/.zshrc
|
|||
# check scripts and functions
|
||||
dfs version
|
||||
dfs log 1
|
||||
dfs beacon github-ci
|
||||
z ~
|
||||
test ~ -ef "$(pwd)"
|
||||
dogo
|
||||
|
|
Loading…
Reference in New Issue
Block a user