Skip to content

Commit

Permalink
Query just related files on build (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas authored Aug 30, 2022
1 parent 43ad01d commit dee2403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ func packageAgent(requiredPackages []string, packagingFn func()) {
}
}

files, err := filepath.Glob(filepath.Join(versionedFlatPath, "*"))
files, err := filepath.Glob(filepath.Join(versionedFlatPath, fmt.Sprintf("*%s*", version)))
if err != nil {
panic(err)
}
Expand Down

0 comments on commit dee2403

Please sign in to comment.