diff options
author | Steven Kou <skykinetic@stevenkou.xyz> | 2022-12-07 17:17:32 +0800 |
---|---|---|
committer | Steven Kou <skykinetic@stevenkou.xyz> | 2022-12-31 17:17:13 +0800 |
commit | 2f17f70a9ac22048c8a7679fe966fcf58d8881a3 (patch) | |
tree | 78724abfb8e9305301e86a8fbc5f60ac5ef2ee0c /pkgs/applications/editors/jetbrains | |
parent | 52ac262ebd702efe00031e5ce84f2f5d63c5b2d0 (diff) |
jetbrains.gateway: Always use build number as version
JetBrains is being inconsistent here, might need to revert if versioning is fixed upstream.
Diffstat (limited to 'pkgs/applications/editors/jetbrains')
-rwxr-xr-x | pkgs/applications/editors/jetbrains/update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/jetbrains/update.py b/pkgs/applications/editors/jetbrains/update.py index fe57f75c72e13..1c22acf8e7477 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 |