1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00
bitwarden-browser/scripts/brew-update.ps1
2018-07-27 09:56:44 -04:00

14 lines
299 B
PowerShell

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