mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00: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
|