2018-07-27 04:05:09 +02:00
|
|
|
|
# Dependencies:
|
|
|
|
|
# 1. Install powershell, ex `sudo apt-get install -y powershell`
|
|
|
|
|
#
|
|
|
|
|
# To run:
|
|
|
|
|
# pwsh ./snap-update.ps1
|
2018-06-04 21:24:37 +02:00
|
|
|
|
|
|
|
|
|
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
|
|
|
|
|
$rootDir = $dir + "/..";
|
|
|
|
|
$distDir = $rootDir + "/dist";
|
|
|
|
|
$distSnap = $distDir + "/bitwarden*.snap";
|
|
|
|
|
|
2018-07-27 04:00:32 +02:00
|
|
|
|
snapcraft push $distSnap --release stable
|