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.
This commit is contained in:
@@ -494,7 +494,7 @@ jobs:
|
|||||||
name: "Setup files for ghr"
|
name: "Setup files for ghr"
|
||||||
command: |
|
command: |
|
||||||
mkdir -p ./ghr-dist
|
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:
|
- run:
|
||||||
name: "Publish Release on GitHub"
|
name: "Publish Release on GitHub"
|
||||||
command: |
|
command: |
|
||||||
|
Reference in New Issue
Block a user