|
|
|
|
@ -257,17 +257,12 @@ jobs:
@@ -257,17 +257,12 @@ jobs:
|
|
|
|
|
Copy-Item "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.appx" ` |
|
|
|
|
-Destination "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx" |
|
|
|
|
|
|
|
|
|
- name: List Dir |
|
|
|
|
run: ls ./dist |
|
|
|
|
|
|
|
|
|
- name: Deploy to Chocolatey |
|
|
|
|
shell: pwsh |
|
|
|
|
run: | |
|
|
|
|
Copy-Item -Path ./stores/chocolatey -Destination ./dist/chocolatey -Recurse |
|
|
|
|
Copy-Item -Path ./dist/nsis-web/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe -Destination ./dist/chocolatey |
|
|
|
|
|
|
|
|
|
ls ./dist/chocolatey |
|
|
|
|
|
|
|
|
|
$checksum = checksum -t sha256 ./dist/chocoloatey/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe |
|
|
|
|
$chocoInstall = "./dist/chocolatey/tools/chocolateyinstall.ps1" |
|
|
|
|
(Get-Content $chocoInstall).replace('__version__', "$env:PACKAGE_VERSION").replace('__checksum__', $checksum) | Set-Content $chocoInstall |
|
|
|
|
|