mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-19 07:54:10 +00:00
debug: add more detailed debug output for RC version selection
Adding debug to understand why RC version selection isn't working
This commit is contained in:
parent
4d86231c9a
commit
65b3a1dfc5
1 changed files with 3 additions and 0 deletions
|
|
@ -959,6 +959,7 @@ main() {
|
|||
|
||||
# Debug output to see what's happening
|
||||
print_info "DEBUG: You selected option $choice"
|
||||
print_info "DEBUG: RC_VERSION=$RC_VERSION, STABLE_VERSION=$STABLE_VERSION, CURRENT_VERSION=$CURRENT_VERSION"
|
||||
|
||||
# Determine what action to take based on the dynamic menu
|
||||
local action=""
|
||||
|
|
@ -977,10 +978,12 @@ main() {
|
|||
|
||||
# Check if user selected RC update
|
||||
if [[ -n "$RC_VERSION" ]] && [[ "$RC_VERSION" != "$STABLE_VERSION" ]] && [[ "$RC_VERSION" != "$CURRENT_VERSION" ]]; then
|
||||
print_info "DEBUG: RC section - choice=$choice, current_choice=$current_choice"
|
||||
if [[ "$choice" == "$current_choice" ]]; then
|
||||
action="update"
|
||||
target_version="$RC_VERSION"
|
||||
UPDATE_CHANNEL="rc"
|
||||
print_info "DEBUG: RC update selected, target=$target_version"
|
||||
fi
|
||||
((current_choice++))
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue