From ce424fde80b294506ebaf5384985fea31c86249d Mon Sep 17 00:00:00 2001 From: "Bo-Yi.Wu" Date: Sat, 27 Aug 2022 12:50:13 +0800 Subject: [PATCH] fix: gorelease error Signed-off-by: Bo-Yi.Wu --- .goreleaser.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3336e5b..ccadfea 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,6 +6,11 @@ builds: # Defaults to the binary name. id: "chi-server" + # Binary name. + # Can be a path (e.g. `bin/app`) to wrap the binary in a directory. + # Default is the name of the project directory. + binary: chi-server + # Path to main.go file or main package. # Notice: when used with `gomod.proxy`, this must be a package. # @@ -37,6 +42,11 @@ builds: # Defaults to the binary name. id: "gin-server" + # Binary name. + # Can be a path (e.g. `bin/app`) to wrap the binary in a directory. + # Default is the name of the project directory. + binary: gin-server + # Path to main.go file or main package. # Notice: when used with `gomod.proxy`, this must be a package. # @@ -68,6 +78,11 @@ builds: # Defaults to the binary name. id: "proto-client" + # Binary name. + # Can be a path (e.g. `bin/app`) to wrap the binary in a directory. + # Default is the name of the project directory. + binary: proto-client + # Path to main.go file or main package. # Notice: when used with `gomod.proxy`, this must be a package. #