summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaya <github@uwu.is>2023-06-02 09:09:41 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-06-02 16:25:45 +0000
commit0a0dce2786445906948b2d3ece224ca993b419be (patch)
tree7981977cdf64496f0b4318d6adda81f9a2879fb4
parentMerge pull request #235608 from NixOS/backport-235143-to-release-23.05 (diff)
downloadnixpkgs-0a0dce2786445906948b2d3ece224ca993b419be.tar.gz
Revert "jetbrains.gateway: Always use build number as version"
This reverts commit 2f17f70a9ac22048c8a7679fe966fcf58d8881a3. (cherry picked from commit 203d337779c4035d0272e0b85ca110839036ecc1)
-rwxr-xr-xpkgs/applications/editors/jetbrains/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/jetbrains/update.py b/pkgs/applications/editors/jetbrains/update.py
index 1c22acf8e747..fe57f75c72e1 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 all(x not in channel["@name"] for x in ["EAP", "Gateway"]):
+ if "EAP" not in channel["@name"]:
version_or_build_number = new_version
else:
version_or_build_number = new_build_number