fix(ci): remove stale .rpmmacros before rpmbuild in package job
All checks were successful
poll-upstream / check (push) Successful in 1s

The shared runner retains ~/.rpmmacros from previous publish jobs,
causing a spurious "Macro %_gpg_name has empty body" error during
rpmbuild in the package job.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-24 14:59:42 +03:00
parent 8ceabed354
commit 937e72bff6

View File

@@ -89,6 +89,7 @@ jobs:
- name: Build RPM - name: Build RPM
run: | run: |
rm -f ~/.rpmmacros
version="${TAG#v}" version="${TAG#v}"
rpmdev-setuptree rpmdev-setuptree
cp artifacts/mistralrs-server-${{ matrix.name }} ~/rpmbuild/SOURCES/ cp artifacts/mistralrs-server-${{ matrix.name }} ~/rpmbuild/SOURCES/