1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-04 13:44:00 +01:00
bitwarden-browser/apps/desktop/scripts/cask-update.ps1

18 lines
611 B
PowerShell
Raw Normal View History

2018-06-04 21:24:37 +02:00
param (
2018-07-27 02:36:30 +02:00
[Parameter(Mandatory=$true)]
[string] $version
2018-06-04 21:24:37 +02:00
)
# 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:
2018-07-27 04:05:09 +02:00
# pwsh ./cask-update.ps1 -version 1.3.0
2018-06-04 21:24:37 +02:00
2018-06-04 21:40:10 +02:00
cask-repair --cask-version $version --blind-submit --fail-on-error bitwarden