Moved branch tags to new attribute

This commit is contained in:
Steffen Lange 2020-04-01 17:28:09 +02:00
parent 3d037ec2b3
commit ffc5ce2b33
12 changed files with 21 additions and 9 deletions

View file

@ -2,7 +2,8 @@
class AdoptOpenJDK11 extends PatchBase {
function __construct() {
parent::__construct('AdoptOpenJDK', 'OpenJDK JRE 11', 'https://adoptopenjdk.net/');
parent::__construct('AdoptOpenJDK', 'OpenJDK', 'https://adoptopenjdk.net/');
$this->patch->setBranch('JRE 11');
}
function check() : bool {
if ($this->fetch('https://api.adoptopenjdk.net/v2/info/releases/openjdk11?release=latest&openjdk_impl=hotspot&type=jre&os=windows&arch=x64', true))