Paperwork: use git tags
This commit is contained in:
parent
26aa6593a1
commit
e3213a5eb9
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ class Paperwork extends PatchBase {
|
||||||
parent::__construct('Jérôme Flesch', 'Paperwork', 'https://openpaper.work/');
|
parent::__construct('Jérôme Flesch', 'Paperwork', 'https://openpaper.work/');
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch_json('https://gitlab.gnome.org/api/v4/projects/World%2FOpenPaperwork%2Fpaperwork/releases'))
|
if ($this->fetch_json('https://gitlab.gnome.org/api/v4/projects/3560/repository/tags'))
|
||||||
return $this->parse_json('tag_name');
|
return $this->parse_json('name');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue