Merge pull request #4 from ocristopfer/make

fix: make
This commit is contained in:
Cristopfer Luis 2024-02-05 13:48:40 -03:00 committed by GitHub
commit d72e64d9d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 5 deletions

View file

@ -31,7 +31,11 @@ jobs:
- name: Build release
run: make dist
- name: Build deb
run: make deb
- name: Publish GitHub release
uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9
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
endif
export TEST_OS
TARFILE=$(RPM_NAME)-$(VERSION).tar.xz
NODE_CACHE=$(RPM_NAME)-node-$(VERSION).tar.xz
TARFILE=$(RPM_NAME).tar.xz
NODE_CACHE=$(RPM_NAME)-node.tar.xz
SPEC=$(RPM_NAME).spec
PREFIX ?= /usr/local
APPSTREAMFILE=org.cockpit-project.$(PACKAGE_NAME).metainfo.xml

View file

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