experimenting with moving the choco-pack script

This commit is contained in:
Joseph Flinn 2021-01-08 22:32:16 +00:00
parent 3953de1811
commit 634eb7e9d1
1 changed files with 10 additions and 1 deletions

View File

@ -94,7 +94,16 @@ jobs:
run: npm run package:lin
- name: Package Chocolatey
run: .\scripts\choco-pack.ps1 # DO NOT USE PUSH SWITCH!
shell: pwsh
run: |
#.\scripts\choco-pack.ps1 # DO NOT USE PUSH SWITCH!
Copy-Item -Path stores\chocolatey -Destination dist\chocolatey -Recurse
Copy-Item dist\windows\bw.exe -Destination dist\chocolatey\tools
Copy-Item LICENSE.exe -Destination dist\chocolatey\tools
choco pack dist\chocolatey\bitwarden-cli.nuspec --version ${{ env:PACKAGE_VERSION }} --out dist\chocolatey
Get-ChildItem
- name: Zip
shell: cmd