mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 13:06:40 +00:00
feat(builds): generate and upload SHA256 sum file for release asset
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user