From 962f566228331291f690ba61cd9de5c82cc41c78 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 26 Nov 2021 21:34:21 +0100 Subject: [PATCH] fix: go on with missing tag Closes https://git.coopcloud.tech/coop-cloud/organising/issues/264. --- pkg/recipe/recipe.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/recipe/recipe.go b/pkg/recipe/recipe.go index 225c5b44..52a9bac2 100644 --- a/pkg/recipe/recipe.go +++ b/pkg/recipe/recipe.go @@ -157,7 +157,8 @@ func EnsureVersion(recipeName, version string) error { logrus.Debugf("read '%s' as tags for recipe '%s'", strings.Join(parsedTags, ", "), recipeName) if tagRef.String() == "" { - return fmt.Errorf("%s is not available?", version) + logrus.Warnf("%s recipe has no local tag: %s? this recipe version is not released?", recipeName, version) + return nil } worktree, err := repo.Worktree()