From 2e2d19fbe634c10c5f3c74f3b0a15a2ef4b3d19e Mon Sep 17 00:00:00 2001 From: befanyt <172807209+befanyt@users.noreply.github.com> Date: Sun, 27 Oct 2024 15:14:41 +0100 Subject: [PATCH] fix: limit the number of days in rollback-helper (#1836) --- system_files/shared/usr/bin/ublue-rollback-helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/shared/usr/bin/ublue-rollback-helper b/system_files/shared/usr/bin/ublue-rollback-helper index c501f64b80b..a6ad8424757 100755 --- a/system_files/shared/usr/bin/ublue-rollback-helper +++ b/system_files/shared/usr/bin/ublue-rollback-helper @@ -8,7 +8,7 @@ IMAGE_TAG=$(jq -r '."image-tag"' < $IMAGE_INFO) FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO) function list_tags(){ - skopeo list-tags docker://ghcr.io/ublue-os/"${IMAGE_NAME}" | grep -E --color=never -- "$FEDORA_VERSION-([0-9]+)" | sort -rV + skopeo list-tags docker://ghcr.io/ublue-os/"${IMAGE_NAME}" | grep -E --color=never -- "$FEDORA_VERSION-([0-9]+)" | sort -rV | head -n 31 } function rebase_helper(){