mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-14 10:26:19 +01:00
13 lines
318 B
PowerShell
13 lines
318 B
PowerShell
|
# Dependencies:
|
|||
|
# 1. Install powershell, ex `sudo apt-get install -y powershell`
|
|||
|
#
|
|||
|
# To run:
|
|||
|
# pwsh ./snap-update.ps1
|
|||
|
|
|||
|
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
|
|||
|
$rootDir = $dir + "/..";
|
|||
|
$distDir = $rootDir + "/dist";
|
|||
|
$distSnap = $distDir + "/snap/bw*.snap";
|
|||
|
|
|||
|
snapcraft push $distSnap --release stable
|