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