mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(windows): Ensure production exes / MSIs don't show "-modified" Git versions (#3432)
Fixes #3384
This commit is contained in:
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Don't allow Git to mess up line endings, ever
|
||||
# https://github.com/actions/checkout/issues/135#issuecomment-613329879
|
||||
* -text
|
||||
6
.github/workflows/_rust.yml
vendored
6
.github/workflows/_rust.yml
vendored
@@ -88,6 +88,8 @@ jobs:
|
||||
targets: x86_64-pc-windows-msvc
|
||||
- name: Build release binaries
|
||||
run: |
|
||||
# Build Windows Tauri GUI
|
||||
|
||||
pnpm install
|
||||
|
||||
# Set logs to debug
|
||||
@@ -107,6 +109,10 @@ jobs:
|
||||
|
||||
Get-FileHash ${{ env.BINARY_DEST_PATH }}-x64.exe -Algorithm SHA256 | Select-Object Hash > ${{ env.BINARY_DEST_PATH }}-x64.exe.sha256sum.txt
|
||||
Get-FileHash ${{ env.BINARY_DEST_PATH }}-x64.msi -Algorithm SHA256 | Select-Object Hash > ${{ env.BINARY_DEST_PATH }}-x64.msi.sha256sum.txt
|
||||
|
||||
# This might catch regressions in #3384, depending how CI runners
|
||||
# handle exit codes
|
||||
git diff --exit-code
|
||||
- name: Save Windows client
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user