0
0
forked from toolshed/abra

refactor: the grand recipe release refactor

This commit is contained in:
2021-12-21 19:25:44 +01:00
parent f57222d6aa
commit fa45264ea0
4 changed files with 288 additions and 210 deletions

View File

@ -235,7 +235,8 @@ A new catalogue copy can be published to the recipes repository by passing the
}
}
if err := gitPkg.Commit("**.json", internal.CommitMessage, internal.Dry, internal.Push); err != nil {
cataloguePath := path.Join(config.ABRA_DIR, "catalogue")
if err := gitPkg.Commit(cataloguePath, "**.json", internal.CommitMessage, internal.Dry, internal.Push); err != nil {
logrus.Fatal(err)
}
}