1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-24 17:11:55 +01:00

choco pack script

This commit is contained in:
Kyle Spearrin 2018-02-19 21:56:46 -05:00
parent a32fff16a2
commit b0f6105ae6
2 changed files with 9 additions and 1 deletions

8
scripts/choco-pack.ps1 Normal file
View File

@ -0,0 +1,8 @@
$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

View File

@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>bitwarden</id>
<version>0.0.5</version>
<version>0.0.0</version>
<packageSourceUrl>https://github.com/bitwarden/desktop/tree/master/stores/chocolatey</packageSourceUrl>
<owners>kspearrin</owners>
<title>Bitwarden</title>