chore: fix resolving bw release

This commit is contained in:
Stevan Freeborn
2026-07-07 19:53:24 -05:00
parent 37bba6dd1f
commit f181f79d7b
+1 -1
View File
@@ -48,7 +48,7 @@ else
fi
step "Downloading Bitwarden CLI binary..."
BW_VERSION=$(curl -fsLS "https://api.github.com/repos/bitwarden/clients/releases/latest" \
BW_VERSION=$(curl -fsLS "https://api.github.com/repos/bitwarden/clients/releases?per_page=20" \
| grep '"tag_name"' | grep cli | head -1 | sed 's/.*"cli-v\([^"]*\)".*/\1/' || echo "")
if [ -z "$BW_VERSION" ]; then
err "Could not determine latest Bitwarden CLI version. Install bw manually and re-run."