mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +00:00
choco update
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user