mirror of
https://github.com/bitwarden/cli
synced 2025-12-10 13:23:35 +00:00
brew update script
This commit is contained in:
13
scripts/brew-update.ps1
Normal file
13
scripts/brew-update.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
param (
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string] $version
|
||||
)
|
||||
|
||||
# Dependencies:
|
||||
# 1. brew cask install powershell
|
||||
#
|
||||
# To run:
|
||||
# pwsh ./brew-update.ps1 -version 1.1.0
|
||||
|
||||
$url = 'https://registry.npmjs.org/@bitwarden/cli/-/cli-' + $version + '.tgz';
|
||||
brew bump-formula-pr --url $url bitwarden-cli
|
||||
Reference in New Issue
Block a user