From f9527383da34dfd7a9d21f800f3d2088c3d3d5bc Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 27 Jul 2018 09:45:20 -0400 Subject: [PATCH] brew update script --- scripts/brew-update.ps1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/brew-update.ps1 diff --git a/scripts/brew-update.ps1 b/scripts/brew-update.ps1 new file mode 100644 index 0000000000..57d0662356 --- /dev/null +++ b/scripts/brew-update.ps1 @@ -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