From 871da1ea727e4832e9c7b89f645a2dcff1daeb5c Mon Sep 17 00:00:00 2001 From: Michal Pristas Date: Tue, 25 Feb 2025 12:18:59 +0100 Subject: [PATCH] Update magefile.go --- magefile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magefile.go b/magefile.go index fc8c4c3ecb..c4980ab37a 100644 --- a/magefile.go +++ b/magefile.go @@ -2035,7 +2035,7 @@ func (Integration) UpdateVersions(ctx context.Context) error { // -1 because we manually add 7.17 below if len(branches) > maxSnapshots-1 { - branches = branches[:maxSnapshots-2] + branches = branches[:maxSnapshots-1] } // it's not a part of this repository, cannot be retrieved with `GetReleaseBranches`