mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
9 lines
371 B
PowerShell
9 lines
371 B
PowerShell
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
|
|
$rootDir = $dir + "\..";
|
|
$distDir = $rootDir + "\dist";
|
|
$nuspec = $rootDir + "\stores\chocolatey\bitwarden.nuspec";
|
|
$srcPackage = $rootDir + "\src\package.json";
|
|
$srcPackageVersion = (Get-Content -Raw -Path $srcPackage | ConvertFrom-Json).version;
|
|
|
|
choco pack $nuspec --version $srcPackageVersion --out $distDir
|