1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01: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'

View File

@ -100,75 +100,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Build application
if: false
run: npm run dist:lin
- name: Upload .deb release asset
if: false
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: Bitwarden-${{ env.PACKAGE_VERSION }}-amd64.deb
asset_path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-amd64.deb
asset_content_type: application/x-debian-package
- name: Upload .rpm release asset
if: false
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: Bitwarden-${{ env.PACKAGE_VERSION }}-x86_64.rpm
asset_path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x86_64.rpm
asset_content_type: application
- name: Upload .freebsd release asset
if: false
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: Bitwarden-${{ env.PACKAGE_VERSION }}-x64.freebsd
asset_path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.freebsd
asset_content_type: application
- name: Upload .snap checksum release asset
if: false
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap
asset_path: ./dist/bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap
asset_content_type: application
- name: Upload .AppImage checksum release asset
if: false
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.setup.outputs.release_upload_url }}
asset_name: Bitwarden-${{ env.PACKAGE_VERSION }}-x86_64.AppImage
asset_path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x86_64.AppImage
asset_content_type: application
#- name: Deploy to Snap Store
# run: |
# ./scripts/snap-update.ps1 -version $env:PACKAGE_VERSION
# snapcraft logout
# shell: pwsh
- name: Deploy to Snap Store
run: |
./scripts/snap-update.ps1 -version $env:PACKAGE_VERSION
snapcraft logout
shell: pwsh
windows:
runs-on: windows-latest
environment: prod
needs: setup
steps:
- name: Set up dotnet
@ -206,7 +146,6 @@ jobs:
dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool
- name: Set up environment
if: false
shell: pwsh
run: |
choco install checksum --no-progress
@ -214,11 +153,6 @@ jobs:
env:
CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
- name: Set up environment
shell: pwsh
run: |
choco install checksum --no-progress
- name: Print environment
run: |
node --version
@ -268,7 +202,7 @@ jobs:
(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
cd ./dist/chocolatey
#choco push
choco push
- name: Upload Chocolatey nupkg release asset
id: upload-macos-checksum
@ -283,7 +217,6 @@ jobs:
macos:
if: false
runs-on: macos-latest
needs: setup
steps:

View File

@ -13,7 +13,7 @@
"homepage": "https://bitwarden.com",
"repository": {
"type": "git",
"url": "https://github.com/joseph-flinn/desktop"
"url": "https://github.com/bitwarden/desktop"
},
"license": "GPL-3.0",
"scripts": {

View File

@ -30,5 +30,5 @@ $chocoInstall = $distChocoDir + "\tools\chocolateyinstall.ps1";
(Get-Content $chocoInstall).replace('__version__', $version).replace('__checksum__', $checksum) | Set-Content $chocoInstall
choco pack $nuspec --version $version --out $distChocoDir
cd $distChocoDir
#choco push
choco push
cd $rootDir