Skip to content

Commit

Permalink
Release workflow to create a zipped msi for auto-update (#35)
Browse files Browse the repository at this point in the history
* Release ci to create a zipped msi for auto-update

* use bash shell

* use zip in version.json

* try powershell Compress-Archive
  • Loading branch information
fitztrev authored Aug 25, 2024
1 parent 868ab04 commit f34ff79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/tauri-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ jobs:
shell: bash
run: pnpm tauri signer sign --private-key "${{ secrets.TAURI_PRIVATE_KEY }}" --password "${{ secrets.TAURI_PRIVATE_KEY_PASSWORD }}" artifacts/Lichess-Broadcaster-windows.msi

- name: zip msi for auto-updater (windows)
if: matrix.platform == 'windows-latest'
shell: pwsh
run: Compress-Archive artifacts/Lichess-Broadcaster-windows.msi artifacts/Lichess-Broadcaster-windows.msi.zip

- name: upload release artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion updater/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"windows-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVTMGJHU1g4RXlreFMzNk4zRDdWeHBQejArWDA4Z2RWL0xtQkZOTTIxYWl6RUtSajladk4xeGFXWmFBYXMrL0E5NFc4OG5SS2o4STFmTnRoRWMyVkhQNkdQYzgzckRUVFFVPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzIzNjc0ODY1CWZpbGU6TGljaGVzcy1Ccm9hZGNhc3Rlci13aW5kb3dzLm1zaQpIVGRxNDZ2d0FkTHhnUHovZWJzNGF2bHZocTI2RXVpcG91VzgrRHlzL1VXMHJscnJCejgzbldkQWJ2NnA0WVpWckVoS3hreUF6VFRTMjhvd09YYXNCZz09Cg==",
"url": "https://github.com/lichess-org/broadcaster/releases/latest/download/Lichess-Broadcaster-windows.msi"
"url": "https://github.com/lichess-org/broadcaster/releases/latest/download/Lichess-Broadcaster-windows.msi.zip"
}
}
}

0 comments on commit f34ff79

Please sign in to comment.