feat(aa): ensure the prebuild jobs are working.

This commit is contained in:
Alexandre Pujol 2024-05-29 21:12:54 +01:00
parent fe4c86a245
commit 23eaa20fb7
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 29 additions and 16 deletions

View file

@ -58,7 +58,7 @@ func Run(file *paths.Path, profile string) (string, error) {
for _, b := range Builds {
profile, err = b.Apply(opt, profile)
if err != nil {
return "", err
return "", fmt.Errorf("%s %s: %w", b.Name(), opt.File, err)
}
}
return profile, nil