aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2019-10-23 23:27:06 +0200
committern-peugnet <n.peugnet@free.fr>2019-10-24 00:32:08 +0200
commit32ddaa0b721c79cd96c77f1622099b8a409a4a86 (patch)
tree07fb77e4d3fec1f9a4e2563f6dc3bd1b5274c673 /Makefile
parent620fa64a2bd86022903482454df235e435431e75 (diff)
downloadwcms-32ddaa0b721c79cd96c77f1622099b8a409a4a86.tar.gz
wcms-32ddaa0b721c79cd96c77f1622099b8a409a4a86.zip
add release-it as the release tool
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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*" \