From 32769d932edc76c7b63ea54429342158c40eb939 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 4 Jun 2018 15:43:42 -0400 Subject: [PATCH] choco update --- jslib | 2 +- scripts/{choco-pack.ps1 => choco-update.ps1} | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) rename scripts/{choco-pack.ps1 => choco-update.ps1} (90%) diff --git a/jslib b/jslib index 9b3fddbd33..22c12cf5c4 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 9b3fddbd3308653fdd57f0cdeb23fa661ce9704d +Subproject commit 22c12cf5c4cc1c00792a9717fbb3d85fc53bed99 diff --git a/scripts/choco-pack.ps1 b/scripts/choco-update.ps1 similarity index 90% rename from scripts/choco-pack.ps1 rename to scripts/choco-update.ps1 index edb31c144c..d3ed226434 100644 --- a/scripts/choco-pack.ps1 +++ b/scripts/choco-update.ps1 @@ -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