Paperwork: use git tags

This commit is contained in:
Steffen Lange 2024-04-26 23:00:12 +02:00
parent 26aa6593a1
commit e3213a5eb9

View file

@ -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;
} }
} }