summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-06-13 00:34:55 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2024-06-13 00:34:55 +0200
commitdb2fcdfce8cd07b6eaed71af909b051426623cdf (patch)
tree7c92ff513eec313ca81ee2a372ce1b719f2bade9
parentTry updating flatpak dependencies and cleanup style (diff)
downloadnheko-db2fcdfce8cd07b6eaed71af909b051426623cdf.tar.xz
Workaround fuzzy matching on package list API
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fd157da9..13fe25dd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -96,7 +96,9 @@ pages:
     - apk add curl jq
   script:
     - export LATEST_WINDOWS_NIGHTLY=$(curl "https://nheko.im/api/v4/projects/2/packages?package_name=windows-nightly&order_by=version&sort=desc" | jq -r '.[0].version')
-    - export LATEST_WINDOWS=$(curl "https://nheko.im/api/v4/projects/2/packages?package_name=windows&order_by=version&sort=desc" | jq -r '.[0].version')
+    #- export LATEST_WINDOWS=$(curl "https://nheko.im/api/v4/projects/2/packages?package_name=windows&order_by=version&sort=desc" | jq -r '.[0].version')
+    # hardcoded to avoid fuzzy matching
+    - export LATEST_WINDOWS='0.12.0.35798'
     - sed "s/0.12.0.0/${LATEST_WINDOWS_NIGHTLY}/g" -i resources/NhekoNightly.appinstaller
     - sed "s/0.12.0.0/${LATEST_WINDOWS}/g" -i resources/Nheko.appinstaller
     - mkdir public