diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e29b9a..528b184 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Create archive run: | repo_name=$(basename $(pwd)) - tar -czvf "${repo_name}.tar.gz" . + git archive --format=tar.gz --prefix="${repo_name}/" -o "${repo_name}.tar.gz" HEAD - name: Upload release asset env: