fix: show release notes once
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
See #543
This commit is contained in:
parent
d081bbaefa
commit
de009921a2
@ -213,9 +213,7 @@ beforehand. See "abra app backup" for more.`,
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if upgradeReleaseNotes != "" && chosenUpgrade != "" {
|
if upgradeReleaseNotes == "" {
|
||||||
fmt.Print(upgradeReleaseNotes)
|
|
||||||
} else {
|
|
||||||
upgradeWarnMessages = append(
|
upgradeWarnMessages = append(
|
||||||
upgradeWarnMessages,
|
upgradeWarnMessages,
|
||||||
fmt.Sprintf("no release notes available for %s", chosenUpgrade),
|
fmt.Sprintf("no release notes available for %s", chosenUpgrade),
|
||||||
|
@ -46,7 +46,7 @@ func DeployOverview(
|
|||||||
app appPkg.App,
|
app appPkg.App,
|
||||||
deployedVersion string,
|
deployedVersion string,
|
||||||
toDeployVersion string,
|
toDeployVersion string,
|
||||||
info string,
|
releaseNotes string,
|
||||||
warnMessages []string,
|
warnMessages []string,
|
||||||
) error {
|
) error {
|
||||||
deployConfig := "compose.yml"
|
deployConfig := "compose.yml"
|
||||||
@ -85,8 +85,8 @@ func DeployOverview(
|
|||||||
|
|
||||||
fmt.Println(overview)
|
fmt.Println(overview)
|
||||||
|
|
||||||
if info != "" {
|
if releaseNotes != "" {
|
||||||
fmt.Println(info)
|
fmt.Print(releaseNotes)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, msg := range warnMessages {
|
for _, msg := range warnMessages {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user