From 651a560254ec5f9aa298d0c8bf190110dd07d434 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Mon, 29 Mar 2021 12:57:59 +0200 Subject: [PATCH] Fix writing of yq in repo_sync Make sure binary path exists before writing. Signed-off-by: Ben Kochie --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e4ceaa1ce..b8b79ceb0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -110,7 +110,7 @@ jobs: executor: golang steps: - checkout - - run: curl -sL --fail https://github.com/mikefarah/yq/releases/download/v4.6.3/yq_linux_amd64 -o "${PATH%%:*}/yq" && chmod -v +x "${PATH%%:*}/yq" + - run: mkdir -v -p "${PATH%%:*}" && curl -sL --fail https://github.com/mikefarah/yq/releases/download/v4.6.3/yq_linux_amd64 -o "${PATH%%:*}/yq" && chmod -v +x "${PATH%%:*}/yq" - run: sha256sum -c <(echo "c4343783c3361495c0d6d1eb742bba7432aa65e13e9fb8d7e201d544bcf14247 ${PATH%%:*}/yq") - run: ./scripts/sync_repo_files.sh