From 32ddaa0b721c79cd96c77f1622099b8a409a4a86 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 23 Oct 2019 23:27:06 +0200 Subject: add release-it as the release tool --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bef37ef..c0ccd3c 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +include .env +export PATH := vendor/bin:node_modules/.bin:$(PATH) GIT_VERSION := $(shell git --no-pager describe --always --tags) @@ -7,6 +9,9 @@ zip_release := $(GIT_VERSION:%=dist/w_cms_%.zip) all: php_dependencies $(js_bundles) +release: + release-it + dist: distclean $(zip_release) dist/w_cms_%.zip: all @@ -16,6 +21,7 @@ dist/w_cms_%.zip: all zip -d $@ \ "src*" \ .gitignore \ + .release-it.json \ composer.lock \ Makefile \ "package*" \ -- cgit v1.2.3