2018-07-27 15:45:20 +02:00
|
|
|
|
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';
|
2018-07-27 15:56:44 +02:00
|
|
|
|
brew bump-formula-pr --url="$url" bitwarden-cli
|