feat(builds): generate and upload SHA256 sum file for release asset

This commit is contained in:
2021-05-08 21:14:27 +01:00
parent 6eaef25902
commit 036a575d09
3 changed files with 81 additions and 39 deletions

View File

@@ -3,6 +3,7 @@ package main
import (
"fmt"
"net/http"
"path/filepath"
"github.com/urfave/cli/v2"
)
@@ -42,7 +43,7 @@ func checkAction(c *cli.Context, opts *globalOptions) error {
fmt.Println(" -> Release exists")
filename := plan.ReleaseAsset()
filename := filepath.Base(plan.Archive)
fmt.Printf("==> Checking release for asset: %s\n", filename)
for _, a := range release.Assets {