choco pack script
This commit is contained in:
parent
a32fff16a2
commit
b0f6105ae6
|
@ -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
|
|
@ -3,7 +3,7 @@
|
||||||
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>bitwarden</id>
|
<id>bitwarden</id>
|
||||||
<version>0.0.5</version>
|
<version>0.0.0</version>
|
||||||
<packageSourceUrl>https://github.com/bitwarden/desktop/tree/master/stores/chocolatey</packageSourceUrl>
|
<packageSourceUrl>https://github.com/bitwarden/desktop/tree/master/stores/chocolatey</packageSourceUrl>
|
||||||
<owners>kspearrin</owners>
|
<owners>kspearrin</owners>
|
||||||
<title>Bitwarden</title>
|
<title>Bitwarden</title>
|
||||||
|
|
Loading…
Reference in New Issue