Skip to content

Commit

Permalink
fix Bitwarden
Browse files Browse the repository at this point in the history
  • Loading branch information
Utesgui authored Jun 29, 2024
1 parent 64ec6d6 commit 072c290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Packages/Update-Bitwarden.CLI.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
. .\Scripts\common.ps1

$latestRelease = gh release list --repo bitwarden/clients --limit 10 --json isLatest,name,tagName,createdAt | ConvertFrom-Json | Where-Object { $_.tagName -like "cli-*" } | Select-Object -First 1
$latestRelease = gh release list --repo bitwarden/clients --limit 100 --json isLatest,name,tagName,createdAt | ConvertFrom-Json | Where-Object { $_.tagName -like "cli-*" } | Select-Object -First 1

$latestVersion = $latestRelease.tagName.split('-')[1].Replace("v", "")

Expand Down

0 comments on commit 072c290

Please sign in to comment.