1
0
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:
Carlos Alexandro Becker 2018-10-20 17:47:55 -03:00
parent f7268a0979
commit 75c999ac73
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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 {