From 85f0f5c150b130e97c636e04985611191ce14c33 Mon Sep 17 00:00:00 2001
From: Julian <julian@cccv.de>
Date: Wed, 26 Jan 2022 17:53:32 +0100
Subject: [PATCH] Fix release limit in update_release_tags

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2ad6010..ac2d102 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,7 +37,7 @@ update_release_tags:
     git config --global user.name "autoupdater"
     cat config/apps | \
     while read app_id; do
-      python3 scripts/appstore.py get-releases "$app_id" | tail -n 2 | \
+      python3 scripts/appstore.py get-releases "$app_id" | head -n 2 | \
       while read version; do
         git tag "release/$app_id/$version" || true # don't fail if tags exists
       done
-- 
GitLab