From 82fd9114275142a101cb7095a26f67794a7a7843 Mon Sep 17 00:00:00 2001 From: samuel Date: Tue, 17 Feb 2026 00:15:48 +0100 Subject: [PATCH] ci: add rpm build --- .gitea/workflows/ci.yaml | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index aacd54a..5a27bde 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -19,3 +19,7 @@ jobs: run: systemdlint files/systemd/certbot-renew.service files/systemd/certbot-renew.timer - name: Lint shell scripts run: shellcheck files/sbin/certbot-renew + - name: Build tarball + run: make tarball + - name: Build rpm file + run: rpmbuild -ba netoik-rp.spec diff --git a/Makefile b/Makefile index b179b86..7249e96 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME = netoik-rp -VERSION = $(shell git describe --always --tags --abbrev=0) +VERSION = $(shell git describe --abbrev=0) RELEASE = $(shell git rev-parse --short HEAD) REFERENCE = $(if $(GIT_REFERENCE),$(GIT_REFERENCE),$(shell git branch --show-current)) BUILD_ARCH = noarch