Remove pushing the srpm as Gitea doesn't handle them properly
Gitea assumes rpm files can only have an .rpm extension
This commit is contained in:
@@ -30,19 +30,11 @@ runs:
|
||||
fi
|
||||
echo
|
||||
done
|
||||
echo Publishing $(rpmspec -q --srpm $SPECFILE).rpm to ${{ gitea.server_url }}
|
||||
curl "${CURLARGS[@]}" SRPMS/$(rpmspec -q --srpm $SPECFILE).rpm ${{ gitea.server_url }}/api/packages/${{ gitea.actor }}/rpm/${{ gitea.actor }}-${DIST}/upload
|
||||
if [ $? -ne 0 ]; then
|
||||
echo Publishing failed
|
||||
exit $?
|
||||
fi
|
||||
echo
|
||||
|
||||
echo "Pushed the following files to the ${{ gitea.server_url }}/${{ gitea.actor }} rpm repository:"
|
||||
for RPM in $(rpmspec --rpms -q --qf '%{nevra} ' $SPECFILE); do
|
||||
echo $RPM.rpm
|
||||
done
|
||||
echo $(rpmspec -q --srpm $SPECFILE).rpm
|
||||
branding:
|
||||
icon: "upload"
|
||||
color: "gray-dark"
|
||||
|
||||
Reference in New Issue
Block a user