revert: always clone latest recipe changes

This change was about trying to optimise for offline scenarios but
caused a lot of issues for the online case. It needs to be thought
through again.

See coop-cloud/organising#471.

Closes coop-cloud/organising#432.
This commit is contained in:
2023-07-25 16:52:30 +02:00
committed by decentral1se
parent 9f478dac1d
commit 949510d4c3
6 changed files with 7 additions and 9 deletions

View File

@ -120,9 +120,9 @@ func ensureServerFlag() error {
// NewAction is the new app creation logic
func NewAction(c *cli.Context) error {
recipe := ValidateRecipeWithPrompt(c, runtime.WithEnsureRecipeLatest(false))
recipe := ValidateRecipeWithPrompt(c)
conf := runtime.New()
conf := runtime.New(runtime.WithEnsureRecipeLatest(false))
if err := recipePkg.EnsureUpToDate(recipe.Name, conf); err != nil {
logrus.Fatal(err)
}