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

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

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