Release v.1.0.25270.1 #1

Merged
jali merged 26 commits from develop into main 2025-09-27 19:36:19 +00:00
Showing only changes of commit 0365b82dec - Show all commits

View File

@@ -63,12 +63,12 @@ check_for_updates() {
fi
# Fetch the latest commit hash from the remote repository
git -C "$REPO_LOCAL_PATH/$repo_name" fetch origin $BRANCH_NAME
git -C "$REPO_LOCAL_PATH/$" fetch origin $BRANCH_NAME
current_commit_hash=$(git -C "$REPO_LOCAL_PATH/$repo_name" origin $BRANCH_NAME)
if [ -z "$last_commit_hash" ] || [ "$current_commit_hash" != "$last_commit_hash" ]; then
log_message "INFO" "New commits detected. Pulling..."
git -C "$REPO_LOCAL_PATH/$repo_name" checkout origin "$BRANCH_NAME"
git -C "$REPO_LOCAL_PATH/$repo_name" checkout $BRANCH_NAME
if [ $? -eq 0 ]; then
log_message "INFO" "Pull successful."