Remove empty directory from release assets

This commit is contained in:
Viktor Szépe 2024-01-18 21:29:28 +01:00 committed by GitHub
parent a35b382b44
commit 4ba7489c0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,7 +100,7 @@ jobs:
run: | run: |
outdir="./target/${{ matrix.target }}/release" outdir="./target/${{ matrix.target }}/release"
staging="${{ env.BIN_NAME }}-${{ needs.create-release.outputs.release_version }}-${{ matrix.target }}" staging="${{ env.BIN_NAME }}-${{ needs.create-release.outputs.release_version }}-${{ matrix.target }}"
mkdir -p "$staging"/{complete,doc} mkdir -p "$staging"/doc
cp {README.md,LICENSE-*} "$staging/" cp {README.md,LICENSE-*} "$staging/"
cp {CHANGELOG.md,docs/*} "$staging/doc/" cp {CHANGELOG.md,docs/*} "$staging/doc/"
if [ "${{ matrix.os }}" = "windows-2019" ]; then if [ "${{ matrix.os }}" = "windows-2019" ]; then