brew update script

This commit is contained in:
Kyle Spearrin 2018-07-27 09:45:20 -04:00
parent 56395ede45
commit f9527383da
1 changed files with 13 additions and 0 deletions

13
scripts/brew-update.ps1 Normal file
View 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