TreeSheets: read tag_name value

This commit is contained in:
Steffen Lange 2022-09-13 11:36:12 +02:00
parent 9d40a5f595
commit 65a79b30a0

View file

@ -7,7 +7,7 @@ class TreeSheets extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/aardappel/treesheets/releases/latest')) if ($this->fetch_json('https://api.github.com/repos/aardappel/treesheets/releases/latest'))
return $this->parse_json('target_commitish', '/(.{7})/'); return $this->parse_json('tag_name');
return false; return false;
} }
} }