ci: add rpm build

This commit is contained in:
2026-02-17 00:15:48 +01:00
parent c2401ee8da
commit 82fd911427
2 changed files with 5 additions and 1 deletions

View File

@@ -19,3 +19,7 @@ jobs:
run: systemdlint files/systemd/certbot-renew.service files/systemd/certbot-renew.timer run: systemdlint files/systemd/certbot-renew.service files/systemd/certbot-renew.timer
- name: Lint shell scripts - name: Lint shell scripts
run: shellcheck files/sbin/certbot-renew run: shellcheck files/sbin/certbot-renew
- name: Build tarball
run: make tarball
- name: Build rpm file
run: rpmbuild -ba netoik-rp.spec

View File

@@ -1,5 +1,5 @@
NAME = netoik-rp NAME = netoik-rp
VERSION = $(shell git describe --always --tags --abbrev=0) VERSION = $(shell git describe --abbrev=0)
RELEASE = $(shell git rev-parse --short HEAD) RELEASE = $(shell git rev-parse --short HEAD)
REFERENCE = $(if $(GIT_REFERENCE),$(GIT_REFERENCE),$(shell git branch --show-current)) REFERENCE = $(if $(GIT_REFERENCE),$(GIT_REFERENCE),$(shell git branch --show-current))
BUILD_ARCH = noarch BUILD_ARCH = noarch