postgres-backup/Makefile
William Petit 6c8b6ac4e3
All checks were successful
Cadoles/postgres-backup/pipeline/head This commit looks good
Add NFPM packaging recipe
2022-10-31 10:41:03 -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