From 7c435e6c1ba5d5cb104df4a356256507eb612ebd Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 4 Mar 2019 08:35:45 +0000 Subject: [PATCH] Fix macOS package --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 871d2fa..2255716 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -94,15 +94,13 @@ jobs: - run: name: Build for macOS command: | - rm -f {yggdrasil,yggdrasilctl} GO111MODULE=on GOOS=darwin GOARCH=amd64 ./build - mv yggdrasil /tmp/upload/$CINAME-$CIVERSION-darwin-amd64 - mv yggdrasilctl /tmp/upload/$CINAME-$CIVERSION-yggdrasilctl-darwin-amd64; + cp yggdrasil /tmp/upload/$CINAME-$CIVERSION-darwin-amd64 + cp yggdrasilctl /tmp/upload/$CINAME-$CIVERSION-yggdrasilctl-darwin-amd64; - run: name: Build for macOS (.pkg format) command: | - rm -rf {yggdrasil,yggdrasilctl} PKGARCH=amd64 sh contrib/macos/create-pkg.sh mv *.pkg /tmp/upload/