From 2f17f70a9ac22048c8a7679fe966fcf58d8881a3 Mon Sep 17 00:00:00 2001 From: Steven Kou Date: Wed, 7 Dec 2022 17:17:32 +0800 Subject: [PATCH] jetbrains.gateway: Always use build number as version JetBrains is being inconsistent here, might need to revert if versioning is fixed upstream. --- pkgs/applications/editors/jetbrains/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/jetbrains/update.py b/pkgs/applications/editors/jetbrains/update.py index fe57f75c72e1..1c22acf8e747 100755 --- a/pkgs/applications/editors/jetbrains/update.py +++ b/pkgs/applications/editors/jetbrains/update.py @@ -64,7 +64,7 @@ def update_product(name, product): build = latest_build(channel) new_version = build["@version"] new_build_number = build["@fullNumber"] - if "EAP" not in channel["@name"]: + if all(x not in channel["@name"] for x in ["EAP", "Gateway"]): version_or_build_number = new_version else: version_or_build_number = new_build_number