We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2271749 commit 59354ccCopy full SHA for 59354cc
.github/workflows/build.yml
@@ -307,7 +307,9 @@ jobs:
307
- name: Upload assets to GitHub Release
308
env:
309
GH_TOKEN: ${{ github.token }}
310
+ shell: bash
311
run: |
312
tag="${{ github.event.release.tag_name }}"
- # Upload everything you built: main RPMs, debuginfo, debugsource, and SRPMs
313
- gh release upload "$tag" dist/**/*.rpm dist/**/*.src.rpm --clobber
+ mapfile -t files < <(find dist -type f \( -name '*.rpm' -o -name '*.src.rpm' \) | sort)
314
+ ((${#files[@]})) || { echo "No RPMs found under dist/"; exit 1; }
315
+ gh release upload "$tag" "${files[@]}" --clobber --repo "${GITHUB_REPOSITORY}"
0 commit comments