From 4304ae826b52a3e4afbb21d7bbc68e7166db8460 Mon Sep 17 00:00:00 2001 From: Kevin Gimbel Date: Tue, 23 Jan 2018 13:56:24 +0100 Subject: [PATCH] build: Fix goreleaser build; Add dist to gitignore --- .gitignore | 3 ++- .goreleaser.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c74ec3d..de6f8ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -test_files/* \ No newline at end of file +test_files/* +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml index 6d9cf4f..6d1298c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ builds: + main: ./cmd/cmd.go - binary: srvc ldflags: "-X cmd.version={{.Version}} -X cmd.buildDate={{.Date}} -X cmd.commit={{.Commit}}" goos: