diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 649e341..afb40b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,9 @@ jobs: - name: Build release run: make dist + - name: Build Deb release + run: make deb + - name: Upload binaries to release uses: svenstaro/upload-release-action@v2 with: @@ -40,9 +43,6 @@ jobs: asset_name: cockpit-sensors.tar.xz tag: ${{ github.ref }} - - name: Build Deb release - run: make deb - - name: Upload Deb binaries to release uses: svenstaro/upload-release-action@v2 with: diff --git a/packaging/cockpit-sensors.spec.in b/packaging/cockpit-sensors.spec.in index c87f9ce..731bc68 100644 --- a/packaging/cockpit-sensors.spec.in +++ b/packaging/cockpit-sensors.spec.in @@ -1,3 +1,4 @@ +%define _rpmfilename %%{NAME}.rpm Name: cockpit-sensors Version: %{VERSION} Release: 1%{?dist}