1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-06 04:23:19 +00:00

snap script updates

This commit is contained in:
Kyle Spearrin
2018-07-27 09:05:16 -04:00
parent 56a892e7b3
commit ca08262cd8
2 changed files with 17 additions and 1 deletions

12
scripts/snap-update.ps1 Normal file
View File

@@ -0,0 +1,12 @@
# 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