Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
creecros committed Feb 14, 2023
1 parent b303cc8 commit 37173d3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
@@ -1,5 +1,8 @@
plugin=Subtaskdate
extract = $(shell grep -A2 $(1) Plugin.php | tail -n1 | tr -d " ;'" | sed "s/return//")

plugin = Subtaskdate
version = $(call extract, getPluginVersion)

all:
@ echo "Build archive for plugin ${plugin} version=${version}"
@ git archive HEAD --prefix=${plugin}/ --format=zip -o ${plugin}-${version}.zip
@echo "Build archive for plugin ${plugin} version=${version}"
@git archive HEAD --prefix=${plugin}/ --format=zip -o ${plugin}-${version}.zip

0 comments on commit 37173d3

Please sign in to comment.