fix: go on with missing tag
continuous-integration/drone/push Build is passing Details

Closes coop-cloud/organising#264.
This commit is contained in:
decentral1se 2021-11-26 21:34:21 +01:00
parent 9896c57399
commit 962f566228
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 1 deletions

View File

@ -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()