You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	fix: godoc and file checks
This commit is contained in:
		
				
					committed by
					
						 Carlos Alexandro Becker
						Carlos Alexandro Becker
					
				
			
			
				
	
			
			
			
						parent
						
							f3910c9751
						
					
				
				
					commit
					b891a95a4b
				
			| @@ -194,7 +194,8 @@ type Changelog struct { | ||||
| 	Sort    string  `yaml:",omitempty"` | ||||
| } | ||||
|  | ||||
| // EnvFile is the | ||||
| // EnvFiles holds paths to files that contains environment variables | ||||
| // values like the github token for example | ||||
| type EnvFiles struct { | ||||
| 	GitHubToken string `yaml:"github_token,omitempty"` | ||||
| } | ||||
|   | ||||
							
								
								
									
										4
									
								
								pipeline/env/env.go
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								pipeline/env/env.go
									
									
									
									
										vendored
									
									
								
							| @@ -59,10 +59,10 @@ func loadEnv(env, path string) (string, error) { | ||||
| 	if err != nil { | ||||
| 		return "", err | ||||
| 	} | ||||
| 	if _, err := os.Stat(path); os.IsNotExist(err) { | ||||
| 	bts, err := ioutil.ReadFile(path) | ||||
| 	if os.IsNotExist(err) { | ||||
| 		return "", nil | ||||
| 	} | ||||
| 	bts, err := ioutil.ReadFile(path) | ||||
| 	if err != nil { | ||||
| 		return "", err | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user