mirror of
https://github.com/bitwarden/cli
synced 2025-12-14 23:33:35 +00:00
choco update
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 9b3fddbd33...22c12cf5c4
@@ -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
|
||||||
Reference in New Issue
Block a user