You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	refactor: lint issues, style
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
		| @@ -86,14 +86,12 @@ func doRun(ctx *context.Context, client client.Client) error { | |||||||
|  |  | ||||||
| 	if ctx.SkipPublish { | 	if ctx.SkipPublish { | ||||||
| 		return pipe.ErrSkipPublishEnabled | 		return pipe.ErrSkipPublishEnabled | ||||||
|  |  | ||||||
| 	} | 	} | ||||||
| 	if strings.TrimSpace(ctx.Config.Scoop.SkipUpload) == "true" { | 	if strings.TrimSpace(ctx.Config.Scoop.SkipUpload) == "true" { | ||||||
| 		return pipe.Skip("scoop.skip_upload is true") | 		return pipe.Skip("scoop.skip_upload is true") | ||||||
| 	} else if strings.TrimSpace(ctx.Config.Scoop.SkipUpload) == "auto" { | 	} | ||||||
| 		if ctx.Semver.Prerelease != "" { | 	if strings.TrimSpace(ctx.Config.Scoop.SkipUpload) == "auto" && ctx.Semver.Prerelease != "" { | ||||||
| 			return pipe.Skip("release is prerelease") | 		return pipe.Skip("release is prerelease") | ||||||
| 		} |  | ||||||
| 	} | 	} | ||||||
| 	if ctx.Config.Release.Draft { | 	if ctx.Config.Release.Draft { | ||||||
| 		return pipe.Skip("release is marked as draft") | 		return pipe.Skip("release is marked as draft") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user