From 8744d4239182e2f96cde3f177596e2d3eff4fd28 Mon Sep 17 00:00:00 2001 From: Austin Abro <37223396+AustinAbro321@users.noreply.github.com> Date: Mon, 14 Feb 2022 15:04:03 -0500 Subject: [PATCH] fix: make fetch-release creates sync dir if not exists (#317) --- examples/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/Makefile b/examples/Makefile index b3349167e7..b7cd4963d9 100755 --- a/examples/Makefile +++ b/examples/Makefile @@ -35,6 +35,7 @@ clean: ## Clean the sync dir .PHONY: fetch-release fetch-release: ## Grab the latest release as an alternative to needing to build the binaries + @mkdir -p sync @# This probably isn't the cleanest way to get a release, but since we're moving to github, not worth adding the code until post-migration @curl -fL "https://zarf-public.s3-us-gov-west-1.amazonaws.com/release/$$(git describe --tags --abbrev=0)/{zarf,zarf-mac-intel,zarf-mac-apple,zarf-init.tar.zst}" -o "sync/#1" @chmod +x sync/*