From: AJ ONeal Date: Fri, 13 Nov 2020 10:05:45 +0000 (-0700) Subject: add missing binary X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=commitdiff_plain;h=73a778f0b1a940f7ffb14cd08f433db6afa72f40 add missing binary --- 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 +```