fix: fetch recipe for "app list -S"

This commit is contained in:
2025-04-19 02:05:50 +02:00
committed by decentral1se
parent fa084a61d2
commit a43a092ba7
3 changed files with 21 additions and 2 deletions

View File

@ -143,9 +143,13 @@ Use "--status/-S" flag to query all servers for the live deployment status.`,
var newUpdates []string
if version != "unknown" {
if err := app.Recipe.EnsureExists(); err != nil {
log.Fatalf("unable to clone %s: %s", app.Name, err)
}
updates, err := app.Recipe.Tags()
if err != nil {
log.Fatal(err)
log.Fatalf("unable to retrieve tags for %s: %s", app.Name, err)
}
parsedVersion, err := tagcmp.Parse(version)