fix(change_log): skip checking if develop is part of the detected version

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2024-11-13 13:26:46 +05:30
parent a01e779a74
commit d7b74e9d30
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F

View file

@ -184,6 +184,9 @@ def check_for_update():
branch_version = (
apps[app]["branch_version"].split(" ", 1)[0] if apps[app].get("branch_version", "") else ""
)
if "develop" in branch_version:
return updates
instance_version = Version(branch_version or apps[app].get("version"))
github_version, org_name = check_release_on_github(owner, repo, instance_version)