ci: add rpm build
This commit is contained in:
@@ -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
|
||||
|
||||
2
Makefile
2
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
|
||||
|
||||
Reference in New Issue
Block a user