Skip to content

Commit

Permalink
Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
creecros committed Feb 10, 2023
1 parent b161582 commit 3e342a8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function getPluginAuthor()
}
public function getPluginVersion()
{
return '1.7.13';
return '1.8.0';
}
public function getPluginHomepage()
{
Expand Down

0 comments on commit 3e342a8

Please sign in to comment.