You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	lowercase #77
This commit is contained in:
		| @@ -7,7 +7,7 @@ import ( | ||||
| 	"github.com/goreleaser/releaser/context" | ||||
| ) | ||||
|  | ||||
| var defaultFiles = []string{"LICENCE", "LICENSE", "README", "CHANGELOG"} | ||||
| var defaultFiles = []string{"licence", "license", "readme", "changelog"} | ||||
|  | ||||
| // Pipe for brew deployment | ||||
| type Pipe struct{} | ||||
| @@ -75,7 +75,7 @@ func findFiles() (files []string, err error) { | ||||
|  | ||||
| func accept(file string) bool { | ||||
| 	for _, accepted := range defaultFiles { | ||||
| 		if strings.HasPrefix(file, accepted) { | ||||
| 		if strings.HasPrefix(strings.ToLower(file), accepted) { | ||||
| 			return true | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user