From 6ef1f403679f0768e30b3068445ac134cda596dd Mon Sep 17 00:00:00 2001 From: astoycos Date: Thu, 19 Mar 2020 14:58:34 -0400 Subject: [PATCH] modify .goreleaser --- .goreleaser.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 99b3e13..c9abc96 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com +project_name: IoTCLI before: hooks: # You may remove this if you don't use go modules. @@ -7,8 +8,12 @@ before: # you may remove this if you don't need go generate - go generate ./... builds: -- id: "IoTCLI" -- binary: IoTCLI +- + #ID of the build + id: "IoTCLI" + binary: IoTCLI + env: + - CGO_ENABLED=0 archives: - replacements: darwin: Darwin