commit
d72e64d9d1
3 changed files with 9 additions and 5 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue