postgres-backup/Makefile
William Petit 9f5fb86f90
All checks were successful
Cadoles/postgres-backup/pipeline/head This commit looks good
Cadoles/postgres-backup/pipeline/pr-master This commit looks good
Add NFPM packaging recipe
2022-10-31 10:45:43 -06:00

12 lines
263 B
Makefile

PACKAGE_VERSION ?= $(shell git describe --always | rev | cut -d '/' -f 1 | rev)
NFPM_PACKAGER ?= deb
package: dist
PACKAGE_VERSION=$(PACKAGE_VERSION) \
nfpm package \
--config nfpm.yml \
--target ./dist \
--packager $(NFPM_PACKAGER)
dist:
mkdir -p dist