TreeSheets: read tag_name value
This commit is contained in:
parent
9d40a5f595
commit
65a79b30a0
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ class TreeSheets extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue