Skip to content

Commit

Permalink
chore(updatecli) fix az CLI manifest to only get the latest GH release (
Browse files Browse the repository at this point in the history
#1248)

Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal authored Jun 22, 2024
1 parent 23fdb6c commit adc146a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions updatecli/updatecli.d/azure-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit adc146a

Please sign in to comment.