mirror of https://github.com/MISP/PyMISP
chg: [tests] misp_instance_version_master now uses the 2.5 branch
parent
865a8a50ca
commit
7599037e94
|
@ -315,7 +315,7 @@ class PyMISP:
|
|||
@property
|
||||
def misp_instance_version_master(self) -> dict[str, Any] | list[dict[str, Any]]:
|
||||
"""Get the most recent version from github"""
|
||||
r = requests.get('https://raw.githubusercontent.com/MISP/MISP/2.4/VERSION.json')
|
||||
r = requests.get('https://raw.githubusercontent.com/MISP/MISP/2.5/VERSION.json')
|
||||
if r.status_code == 200:
|
||||
master_version = loads(r.content)
|
||||
return {'version': '{}.{}.{}'.format(master_version['major'], master_version['minor'], master_version['hotfix'])}
|
||||
|
|
Loading…
Reference in New Issue