fix: make

This commit is contained in:
Cristopfer Luis Viana da Silva 2024-02-05 16:48:17 +00:00
parent 4c2199f5f6
commit bfb2b48341
3 changed files with 9 additions and 5 deletions

View file

@ -31,7 +31,11 @@ jobs:
- name: Build release - name: Build release
run: make dist run: make dist
- name: Build deb
run: make deb
- name: Publish GitHub release - name: Publish GitHub release
uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9 uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9
with: with:
filename: "cockpit-sensors-${{ github.ref_name }}.tar.xz" filename: "cockpit-sensors.tar.xz"
filename: "cockpit-sensors.deb"

View file

@ -6,8 +6,8 @@ ifeq ($(TEST_OS),)
TEST_OS = centos-8-stream TEST_OS = centos-8-stream
endif endif
export TEST_OS export TEST_OS
TARFILE=$(RPM_NAME)-$(VERSION).tar.xz TARFILE=$(RPM_NAME).tar.xz
NODE_CACHE=$(RPM_NAME)-node-$(VERSION).tar.xz NODE_CACHE=$(RPM_NAME)-node.tar.xz
SPEC=$(RPM_NAME).spec SPEC=$(RPM_NAME).spec
PREFIX ?= /usr/local PREFIX ?= /usr/local
APPSTREAMFILE=org.cockpit-project.$(PACKAGE_NAME).metainfo.xml APPSTREAMFILE=org.cockpit-project.$(PACKAGE_NAME).metainfo.xml

View file

@ -4,8 +4,8 @@ Release: 1%{?dist}
Summary: Cockpit Sensors Module Summary: Cockpit Sensors Module
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Source0: https://github.com/ocristopfer/cockpit-sensors-2/releases/download/%{version}/%{name}-%{version}.tar.xz Source0: https://github.com/ocristopfer/cockpit-sensors-2/releases/latest/download/cockpit-sensors.tar.xz
Source1: https://github.com/ocristopfer/cockpit-sensors-2/releases/download/%{version}/%{name}-node-%{version}.tar.xz Source1: https://github.com/ocristopfer/cockpit-sensors-2/releases/latest/download/cockpit-sensors-node.tar.xz
BuildArch: noarch BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs BuildRequires: nodejs