Merge pull request #28447 from akhilnarang/changelog-skip-develop

fix(change_log): skip checking if `develop` is part of the detected version
This commit is contained in:
Akhil Narang 2024-11-13 16:41:58 +05:30 committed by GitHub
commit 9700c10ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)