mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
chore: added a TODO
This commit is contained in:
parent
f7268a0979
commit
75c999ac73
@ -209,6 +209,7 @@ func create(ctx *context.Context, arch string, binaries []artifact.Artifact) err
|
||||
|
||||
func push(ctx *context.Context, snap artifact.Artifact) error {
|
||||
log.WithField("snap", snap.Name).Info("pushing")
|
||||
// TODO: customize --release based on snap.Grade?
|
||||
/* #nosec */
|
||||
var cmd = exec.CommandContext(ctx, "snapcraft", "push", "--release=stable", snap.Path)
|
||||
if out, err := cmd.CombinedOutput(); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user