From 73a778f0b1a940f7ffb14cd08f433db6afa72f40 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 13 Nov 2020 03:05:45 -0700 Subject: [PATCH] add missing binary --- goreleaser/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/goreleaser/README.md b/goreleaser/README.md index a75f182..13b3e43 100644 --- a/goreleaser/README.md +++ b/goreleaser/README.md @@ -58,7 +58,7 @@ func main() { if len(os.Args) >= 2 && "version" == strings.TrimPrefix(os.Args[1]) { fmt.Printf("YOUR_CLI_NAME v%s %s (%s)\n", version, commit[:7], date) } - + // ... } ``` @@ -163,6 +163,7 @@ you should update your `builds` directive accordingly. - builds: - id: command123 main: ./cmd/command123/command123.go + binary: command123 goos: - linux - windows @@ -172,6 +173,7 @@ you should update your `builds` directive accordingly. - arm64 - id: other321 main: ./cmd/other321/other321.go + binary: other123 goos: - linux - windows @@ -330,4 +332,4 @@ changelog: exclude: - '^docs:' - '^test:' -``` \ No newline at end of file +``` -- 2.25.1