test: rpm release
This commit is contained in:
parent
e84838fa53
commit
775ad730b9
2 changed files with 15 additions and 0 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
|
@ -50,3 +50,17 @@ jobs:
|
||||||
file: cockpit-sensors.deb
|
file: cockpit-sensors.deb
|
||||||
asset_name: cockpit-sensors.deb
|
asset_name: cockpit-sensors.deb
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
|
|
||||||
|
- name: Install RPM
|
||||||
|
run: apt install rpm
|
||||||
|
|
||||||
|
- name: Build RPM
|
||||||
|
run: make rpm
|
||||||
|
|
||||||
|
- name: Upload RPM binaries to release
|
||||||
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
with:
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
file: cockpit-sensors.rpm
|
||||||
|
asset_name: cockpit-sensors.rpm
|
||||||
|
tag: ${{ github.ref }}
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
%define _rpmfilename %%{NAME}.rpm
|
||||||
Name: cockpit-sensors
|
Name: cockpit-sensors
|
||||||
Version: %{VERSION}
|
Version: %{VERSION}
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue