You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	chore: add debug log to scoop
copied from #1464 Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
		| @@ -9,6 +9,7 @@ import ( | ||||
| 	"path/filepath" | ||||
| 	"strings" | ||||
|  | ||||
| 	"github.com/apex/log" | ||||
| 	"github.com/goreleaser/goreleaser/internal/artifact" | ||||
| 	"github.com/goreleaser/goreleaser/internal/client" | ||||
| 	"github.com/goreleaser/goreleaser/internal/pipe" | ||||
| @@ -179,6 +180,13 @@ func buildManifest(ctx *context.Context, artifacts []*artifact.Artifact) (bytes. | ||||
| 			return result, err | ||||
| 		} | ||||
|  | ||||
| 		log.WithFields(log.Fields{ | ||||
| 			"artifactExtras":   artifact.Extra, | ||||
| 			"fromURLTemplate":  ctx.Config.Scoop.URLTemplate, | ||||
| 			"templatedBrewURL": url, | ||||
| 			"sum":              sum, | ||||
| 		}).Debug("scoop url templating") | ||||
|  | ||||
| 		manifest.Architecture[arch] = Resource{ | ||||
| 			URL:  url, | ||||
| 			Bin:  binaries(artifact), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user