mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +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:
parent
9bd0033c09
commit
eedfc6525d
@ -9,6 +9,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/apex/log"
|
||||||
"github.com/goreleaser/goreleaser/internal/artifact"
|
"github.com/goreleaser/goreleaser/internal/artifact"
|
||||||
"github.com/goreleaser/goreleaser/internal/client"
|
"github.com/goreleaser/goreleaser/internal/client"
|
||||||
"github.com/goreleaser/goreleaser/internal/pipe"
|
"github.com/goreleaser/goreleaser/internal/pipe"
|
||||||
@ -179,6 +180,13 @@ func buildManifest(ctx *context.Context, artifacts []*artifact.Artifact) (bytes.
|
|||||||
return result, err
|
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{
|
manifest.Architecture[arch] = Resource{
|
||||||
URL: url,
|
URL: url,
|
||||||
Bin: binaries(artifact),
|
Bin: binaries(artifact),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user