diff --git a/.goreleaser.yml b/.goreleaser.yml index fc1436b5f74..c3bb8638d2d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,7 +18,7 @@ builds: ldflags: - -s -w -X github.com/layer5io/meshery/mesheryctl/internal/cli/root.version={{.Version}} - -s -w -X github.com/layer5io/meshery/mesheryctl/internal/cli/root.commitsha={{.Commit}} - - -s -w -X github.com/layer5io/meshery/mesheryctl/internal/cli/root.releasechannel={{.Releasechannel}} + - -s -w -X github.com/layer5io/meshery/mesheryctl/internal/cli/root.releasechannel={{.Env.RELEASE_CHANNEL}} # GOOS list to build for. # For more info refer to: https://golang.org/doc/install/source#environment # Defaults are darwin and linux.