Release v.1.0.25270.1 #1
@@ -64,7 +64,7 @@ check_for_updates() {
|
||||
fi
|
||||
|
||||
# Fetch the latest commit hash from the remote repository
|
||||
current_commit_hash=$(git -C "$REPO_LOCAL_PATH/$repo_name" branch --format '%(sha)')
|
||||
current_commit_hash=$(git -C "$REPO_LOCAL_PATH/$repo_name" rev-parse HEAD)
|
||||
|
||||
if [ -z "$last_commit_hash" ] || [ "$current_commit_hash" != "$last_commit_hash" ]; then
|
||||
log_message "INFO" "New commits detected. Pulling..."
|
||||
|
||||
Reference in New Issue
Block a user