1
0
mirror of https://github.com/bitwarden/desktop synced 2026-02-19 02:43:28 +00:00

reverting all of the testing code

This commit is contained in:
Joseph Flinn
2021-01-22 04:53:28 +00:00
parent 56bf4d66ba
commit a1559faefb
4 changed files with 14 additions and 81 deletions

View File

@@ -187,13 +187,13 @@ jobs:
- name: Deploy to Chocolatey
shell: pwsh
run: |
Copy-Item -Path ./stores/chocolatey -Destination ./chocolatey -Recurse
Copy-Item -Path ./dist/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe -Destination ./chocolatey
Copy-Item -Path ./stores/chocolatey -Destination ./dist/chocolatey -Recurse
Copy-Item -Path ./dist/nsis-web/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe -Destination ./dist/chocolatey
$checksum = checksum -t sha256 ./chocoloatey/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe
$chocoInstall = "./chocolatey/tools/chocolateyinstall.ps1"
(Get-Content $chocoInstall).replace('__version__', ${{ env.PACKAGE_VERSION }}).replace('__checksum__', $checksum) | Set-Content $chocoInstall
choco pack ./chocolatey/bitwarden.nuspec --version ${{ env.PACKAGE_VERSION }} --out ./chocolately
$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
choco pack ./dist/chocolatey/bitwarden.nuspec --version "$env:PACKAGE_VERSION" --out ./dist/chocolatey
- name: Upload portable exe artifact
if: github.ref == 'refs/heads/master'