fix: show release notes once

See toolshed/abra#543
This commit is contained in:
2025-04-22 07:41:02 +02:00
committed by decentral1se
parent d081bbaefa
commit de009921a2
2 changed files with 4 additions and 6 deletions

View File

@ -213,9 +213,7 @@ beforehand. See "abra app backup" for more.`,
return
}
if upgradeReleaseNotes != "" && chosenUpgrade != "" {
fmt.Print(upgradeReleaseNotes)
} else {
if upgradeReleaseNotes == "" {
upgradeWarnMessages = append(
upgradeWarnMessages,
fmt.Sprintf("no release notes available for %s", chosenUpgrade),