fix: upgrade force logic parity with deploy force logic

coop-cloud/organising#444 (comment)
This commit is contained in:
decentral1se 2023-07-25 15:06:50 +02:00
parent 2518e65e3e
commit bdeeb75973
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 5 additions and 0 deletions

View File

@ -145,6 +145,11 @@ recipes.
}
}
if internal.Force && chosenUpgrade == "" {
logrus.Warnf("%s is already upgraded to latest but continuing (--force/--chaos)", app.Name)
chosenUpgrade = deployedVersion
}
// if release notes written after git tag published, read them before we
// check out the tag and then they'll appear to be missing. this covers
// when we obviously will forget to write release notes before publishing