|
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
|