mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-29 23:49:50 +02: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
|