mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-06 03:13:48 +02:00
fix: lint
This commit is contained in:
parent
3d87275c09
commit
6310b8c12d
@ -208,6 +208,7 @@ func create(ctx *context.Context, arch string, binaries []artifact.Artifact) err
|
||||
}
|
||||
|
||||
func push(ctx *context.Context, snap artifact.Artifact) error {
|
||||
/* #nosec */
|
||||
var cmd = exec.CommandContext(ctx, "snapcraft", "push", "--release=stable", snap.Path)
|
||||
if out, err := cmd.CombinedOutput(); err != nil {
|
||||
return fmt.Errorf("failed to push %s package: %s", snap.Path, string(out))
|
||||
|
Loading…
Reference in New Issue
Block a user