From adc146a72081a4750a53d0e8529b43b2614f4118 Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Sat, 22 Jun 2024 07:59:21 +0200 Subject: [PATCH] chore(updatecli) fix az CLI manifest to only get the latest GH release (#1248) Signed-off-by: Damien Duportal --- updatecli/updatecli.d/azure-cli.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/updatecli/updatecli.d/azure-cli.yml b/updatecli/updatecli.d/azure-cli.yml index ae51a2151..0ba7cf406 100644 --- a/updatecli/updatecli.d/azure-cli.yml +++ b/updatecli/updatecli.d/azure-cli.yml @@ -22,12 +22,10 @@ sources: repository: "azure-cli" token: "{{ requiredEnv .github.token }}" username: "{{ .github.username }}" - versionfilter: - kind: regex - ## Latest stable x.y.z version - pattern: 'azure-cli-(\d*)\.(\d*)\.(\d*)$' + typefilter: + latest: true transformers: - - trimprefix: "azure-cli-" + - trimprefix: 'azure-cli-' targets: updateVersion: