Skip to content

Commit 3e342a8

Browse files
committed
Makefile
1 parent b161582 commit 3e342a8

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
4+
extract = $(shell grep -A2 $(1) Plugin.php | tail -n1 | tr -d " ;'" | sed "s/return//")
5+
6+
plugin = $(call extract, getPluginName)
7+
version = $(call extract, getPluginVersion)
8+
9+
all:
10+
@echo "Build archive for plugin ${plugin} version=${version}"
11+
@git archive HEAD --prefix=${plugin}/ --format=zip -o ${plugin}-${version}.zip

Plugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function getPluginAuthor()
202202
}
203203
public function getPluginVersion()
204204
{
205-
return '1.7.13';
205+
return '1.8.0';
206206
}
207207
public function getPluginHomepage()
208208
{

0 commit comments

Comments
 (0)