summaryrefslogtreecommitdiffhomepage
path: root/test/scripts
diff options
context:
space:
mode:
authorJoakim Hulthe <joakim.hulthe@mullvad.net>2025-05-14 09:47:03 +0200
committerJoakim Hulthe <joakim.hulthe@mullvad.net>2025-05-14 10:06:09 +0200
commit231e105f379ee0993e552d565f247ab623d39f9a (patch)
treefbdce6d3959a5e966cf89bee2eb512c15e309451 /test/scripts
parent2beec9cb917cc274c4326345ae10ff041c665db0 (diff)
downloadmullvadvpn-231e105f379ee0993e552d565f247ab623d39f9a.tar.xz
mullvadvpn-231e105f379ee0993e552d565f247ab623d39f9a.zip
Filter installer loader from fetch /releases
Diffstat (limited to 'test/scripts')
-rwxr-xr-xtest/scripts/utils/lib.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scripts/utils/lib.sh b/test/scripts/utils/lib.sh
index 2c8effb895..320300adb3 100755
--- a/test/scripts/utils/lib.sh
+++ b/test/scripts/utils/lib.sh
@@ -20,7 +20,8 @@ function get_test_utils_dir {
}
# Infer stable version from GitHub repo
-RELEASES=$(curl -sf https://api.github.com/repos/mullvad/mullvadvpn-app/releases | jq -r '[.[] | select(((.tag_name|(startswith("android") or startswith("ios"))) | not))]')
+RELEASES=$(curl -sf https://api.github.com/repos/mullvad/mullvadvpn-app/releases | \
+ jq -r '[.[] | select(((.tag_name|(startswith("android") or startswith("ios") or startswith("desktop/installer"))) | not))]')
LATEST_STABLE_RELEASE=$(jq -r '[.[] | select(.prerelease==false)] | .[0].tag_name' <<<"$RELEASES")
commit=$(git rev-parse HEAD^\{commit\})