Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
snap script updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Jul 27, 2018
1 parent 56a892e commit ca08262
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/snap-build.ps1
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# To run:
# Dependencies:
# 1. Install powershell, ex `sudo apt-get install -y powershell`
#
# To run:
# ./snap-build.ps1
#
# and then push to snap with:
# cd ../dist/snap
# snap push bw*.snap
# or, use the ./snap-update.ps1 script

$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
$rootDir = $dir + "/.."
Expand Down
12 changes: 12 additions & 0 deletions scripts/snap-update.ps1
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ca08262

Please sign in to comment.