Skip to content

Commit b433c81

Browse files
committed
Fix go version prefix.
Signed-off-by: David Calavera <[email protected]>
1 parent c79a7e4 commit b433c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/porcelain/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ func goFile(filePath string, i os.FileInfo) bool {
586586
}
587587

588588
v, err := version.ReadExe(filePath)
589-
return err == nil && strings.HasPrefix(v.Release, "1.")
589+
return err == nil && strings.HasPrefix(v.Release, "go1.")
590590
}
591591

592592
func ignoreFile(rel string) bool {

0 commit comments

Comments
 (0)