diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..e02c58f --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ + + + +extract = $(shell grep -A2 $(1) Plugin.php | tail -n1 | tr -d " ;'" | sed "s/return//") + +plugin = $(call extract, getPluginName) +version = $(call extract, getPluginVersion) + +all: + @echo "Build archive for plugin ${plugin} version=${version}" + @git archive HEAD --prefix=${plugin}/ --format=zip -o ${plugin}-${version}.zip \ No newline at end of file diff --git a/Plugin.php b/Plugin.php index 37968ec..3a2de7d 100644 --- a/Plugin.php +++ b/Plugin.php @@ -202,7 +202,7 @@ public function getPluginAuthor() } public function getPluginVersion() { - return '1.7.13'; + return '1.8.0'; } public function getPluginHomepage() {