From ae0b34362efe4ea3ad24ed163211c8ea97756842 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 9 Oct 2020 21:32:28 +0200 Subject: [PATCH] Add TreeSheets --- modules/TreeSheets.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/TreeSheets.php diff --git a/modules/TreeSheets.php b/modules/TreeSheets.php new file mode 100644 index 0000000..d30e5d8 --- /dev/null +++ b/modules/TreeSheets.php @@ -0,0 +1,15 @@ +patch->setBranch('Continuous'); + } + function check() : bool { + if ($this->fetch('https://api.github.com/repos/aardappel/treesheets/releases/latest', true)) + return $this->parse_json('target_commitish', '/(.{7})/'); + return false; + } +} + +?>