You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-03 00:57:43 +02:00
fix: lint
This commit is contained in:
committed by
Carlos Alexandro Becker
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 {
|
func push(ctx *context.Context, snap artifact.Artifact) error {
|
||||||
|
/* #nosec */
|
||||||
var cmd = exec.CommandContext(ctx, "snapcraft", "push", "--release=stable", snap.Path)
|
var cmd = exec.CommandContext(ctx, "snapcraft", "push", "--release=stable", snap.Path)
|
||||||
if out, err := cmd.CombinedOutput(); err != nil {
|
if out, err := cmd.CombinedOutput(); err != nil {
|
||||||
return fmt.Errorf("failed to push %s package: %s", snap.Path, string(out))
|
return fmt.Errorf("failed to push %s package: %s", snap.Path, string(out))
|
||||||
|
Reference in New Issue
Block a user