diff options
author | n-peugnet <n.peugnet@free.fr> | 2019-10-23 23:27:06 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2019-10-24 00:32:08 +0200 |
commit | 32ddaa0b721c79cd96c77f1622099b8a409a4a86 (patch) | |
tree | 07fb77e4d3fec1f9a4e2563f6dc3bd1b5274c673 /Makefile | |
parent | 620fa64a2bd86022903482454df235e435431e75 (diff) | |
download | wcms-32ddaa0b721c79cd96c77f1622099b8a409a4a86.tar.gz wcms-32ddaa0b721c79cd96c77f1622099b8a409a4a86.zip |
add release-it as the release tool
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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*" \ |