From 0d82054f512c4458445d8c2630978bfe14471e9d Mon Sep 17 00:00:00 2001
From: Nathaniel Cook <nvcook42@gmail.com>
Date: Mon, 2 Jul 2018 10:36:41 -0600
Subject: [PATCH] fix(Makefile): Nightly builds had wrong path

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 98eed32724..75148cf852 100644
--- a/Makefile
+++ b/Makefile
@@ -105,8 +105,8 @@ vet: all
 bench: all
 	$(GO_TEST) -bench=. -run=^$$ ./...
 
-nightly: bin/goreleaser all
-	PATH=./bin:${PATH} goreleaser --snapshot --rm-dist
+nightly: bin/$(GOOS)/goreleaser all
+	PATH=./bin/$(GOOS):${PATH} goreleaser --snapshot --rm-dist
 
 # Recursively clean all subdirs
 clean: $(SUBDIRS)