1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00
bitwarden-browser/apps/desktop/scripts/cask-update.ps1
2022-05-05 17:20:34 +02:00

18 lines
611 B
PowerShell

param (
[Parameter(Mandatory=$true)]
[string] $version
)
# Dependencies:
# 1. brew cask install powershell
# 2. brew install vitorgalvao/tiny-scripts/cask-repair
# see https://github.com/Homebrew/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask
# 3. fork of homebrew-cask repo setup.
# see https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#getting-set-up-to-contribute
# 4. Environment variables for GITHUB_USER and GITHUB_TOKEN set.
#
# To run:
# pwsh ./cask-update.ps1 -version 1.3.0
cask-repair --cask-version $version --blind-submit --fail-on-error bitwarden