fix(ci): remove stale .rpmmacros before rpmbuild in package job
All checks were successful
poll-upstream / check (push) Successful in 1s
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:
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user