Skip to content

Commit

Permalink
feat(zbpack): add exclude .zeabur dir after build
Browse files Browse the repository at this point in the history
Signed-off-by: hackerchai <[email protected]>
  • Loading branch information
hackerchai committed Oct 30, 2023
1 parent 843e074 commit 52291bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/copy_from_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func CopyFromImage(image, srcInImage, destOnHost string) error {
return fmt.Errorf("copy from image: %s: %w", stderr.String(), err)
}
excludeFiles := []string{".gitkeep", ".ini", ".env", ".DS_Store"}
excludeDirs := []string{".git"}
excludeDirs := []string{".git", ".zeabur"}
err = deleteFilesInDirectory(excludeFiles, destOnHost)
if err != nil {
return fmt.Errorf("delete files in directory: %w", err)
Expand Down

0 comments on commit 52291bc

Please sign in to comment.