From 9aca802258aeab0b12e542b5c6d2699e9e013974 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Wed, 18 May 2022 11:34:34 -0700 Subject: [PATCH] Fix GitHub release asset upload (#2114) ghr only looks at immediate descendents of the path it is provided, so we need to ensure that ghr-dist/ is flattened. --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 117e116f..7de9439f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -494,7 +494,7 @@ jobs: name: "Setup files for ghr" command: | mkdir -p ./ghr-dist - cp -r --backup=numbered ./build/{macos-release,win-release,linux}/* ./ghr-dist + find ./build/{macos-release,win-release,linux} -type f -exec cp --backup=numbered -t ./ghr-dist {} + - run: name: "Publish Release on GitHub" command: |