choco update

This commit is contained in:
Kyle Spearrin 2018-06-04 15:43:42 -04:00
parent fa75a5abf4
commit 32769d932e
2 changed files with 5 additions and 6 deletions

2
jslib

@ -1 +1 @@
Subproject commit 9b3fddbd3308653fdd57f0cdeb23fa661ce9704d
Subproject commit 22c12cf5c4cc1c00792a9717fbb3d85fc53bed99

View File

@ -1,9 +1,5 @@
# To run:
# .\choco-pack.ps1
#
# and then push to choco with:
# cd ..\dist\chocolatey
# choco push
# .\choco-update.ps1
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
$rootDir = $dir + "\..";
@ -26,3 +22,6 @@ $srcPackage = $rootDir + "\package.json";
$srcPackageVersion = (Get-Content -Raw -Path $srcPackage | ConvertFrom-Json).version;
$nuspec = $distChocoDir + "\bitwarden-cli.nuspec";
choco pack $nuspec --version $srcPackageVersion --out $distChocoDir
cd $distChocoDir
choco push
cd $rootDir