From 627f595b9b5d74ac64bf3695d03df97440163f77 Mon Sep 17 00:00:00 2001 From: ssube Date: Mon, 6 Apr 2020 08:53:21 -0500 Subject: [PATCH] fix(build): correct artifact names --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index edc0b75..ee6d634 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ GOOS ?= linux GOARCH ?= amd64 go-build: - go build ${BUILD_OPTS} -o bin/togo-${GOOS}-${GOARCH} + go build ${BUILD_OPTS} -o bin/home-dns-${GOOS}-${GOARCH} go-clean: go clean -x @@ -17,14 +17,14 @@ git-push: bundle-all: # generate hash file echo "path bytes sha256" | tee ./bin/hashes - find ./bin/ -name "togo-*" -type f -printf '%p %s ' -exec sh -c 'sha256sum $$1 | cut -d " " -f 1;' find-exec {} \; \ + find ./bin/ -name "home-dns-*" -type f -printf '%p %s ' -exec sh -c 'sha256sum $$1 | cut -d " " -f 1;' find-exec {} \; \ | tee -a ./bin/hashes # compress - tar -cvf bin/togo-all.tgz ./bin/* - gzip ./bin/togo-darwin-* || true - gzip ./bin/togo-linux-* || true + tar -cvf bin/home-dns-all.tgz ./bin/* + gzip ./bin/home-dns-darwin-* || true + gzip ./bin/home-dns-linux-* || true # do not gzip windows binaries bundle-clean: rm -v ./bin/hashes || true - rm -v ./bin/togo-* || true + rm -v ./bin/home-dns-* || true