mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-11 14:48:46 +01:00
choco update
This commit is contained in:
parent
fa75a5abf4
commit
32769d932e
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 9b3fddbd3308653fdd57f0cdeb23fa661ce9704d
|
Subproject commit 22c12cf5c4cc1c00792a9717fbb3d85fc53bed99
|
@ -1,9 +1,5 @@
|
|||||||
# To run:
|
# To run:
|
||||||
# .\choco-pack.ps1
|
# .\choco-update.ps1
|
||||||
#
|
|
||||||
# and then push to choco with:
|
|
||||||
# cd ..\dist\chocolatey
|
|
||||||
# choco push
|
|
||||||
|
|
||||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
|
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path;
|
||||||
$rootDir = $dir + "\..";
|
$rootDir = $dir + "\..";
|
||||||
@ -26,3 +22,6 @@ $srcPackage = $rootDir + "\package.json";
|
|||||||
$srcPackageVersion = (Get-Content -Raw -Path $srcPackage | ConvertFrom-Json).version;
|
$srcPackageVersion = (Get-Content -Raw -Path $srcPackage | ConvertFrom-Json).version;
|
||||||
$nuspec = $distChocoDir + "\bitwarden-cli.nuspec";
|
$nuspec = $distChocoDir + "\bitwarden-cli.nuspec";
|
||||||
choco pack $nuspec --version $srcPackageVersion --out $distChocoDir
|
choco pack $nuspec --version $srcPackageVersion --out $distChocoDir
|
||||||
|
cd $distChocoDir
|
||||||
|
choco push
|
||||||
|
cd $rootDir
|
Loading…
Reference in New Issue
Block a user