Skip to content

Commit

Permalink
Version and Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
creecros committed May 25, 2023
1 parent ec80a18 commit 6c81ea5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Binary file added Customizer-1.14.2.zip
Binary file not shown.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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 @@ -171,7 +171,7 @@ public function getPluginAuthor()

public function getPluginVersion()
{
return '1.14.1';
return '1.14.2';
}

public function getPluginHomepage()
Expand Down

0 comments on commit 6c81ea5

Please sign in to comment.