Merge pull request #6 from Dvorinka/fix/release-upload-files

ci: upload release assets by file, not glob
This commit is contained in:
Tomáš Dvořák authored and GitHub committed 2026-09-21 14:41:58 +02:00
commit 5af23fbdc8
1 file changed
+6 -1
+6 -1
View File
@@ -182,7 +182,12 @@ jobs:
- name: Create release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create "$VERSION" --title "$VERSION" --notes-file notes.md dist-release/*
# Desktop artifacts extract to nested dirs (appimage/, deb/, ...) —
# a bare glob hands gh a directory and the upload dies mid-flight.
run: |
mapfile -t files < <(find dist-release -type f)
[ ${#files[@]} -gt 0 ] || { echo "no release assets found"; exit 1; }
gh release create "$VERSION" --title "$VERSION" --notes-file notes.md "${files[@]}"
npm-publish:
name: Publish to npm