Skip to content

Commit

Permalink
Fix: God help me
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraient committed Oct 26, 2024
1 parent caf1034 commit 450a0cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ jobs:
- name: Update Inno Setup Script with New Version
run: |
sed -i "s/AppVersion=.*/AppVersion=${{ steps.bump_version.outputs.new_version }}/" Build/curd-windows-build.iss
$new_version = Get-Content VERSION.txt
$iss_path = "Build/curd-windows-build.iss"
(Get-Content $iss_path) -replace "AppVersion=.*", "AppVersion=$new_version" | Set-Content $iss_path
- name: Create Windows Installer
run: |
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "D:\a\curd\curd\Build\curd-windows-build.iss"
Expand Down
3 changes: 2 additions & 1 deletion Build/buildwindows
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@echo off
set GOOS=windows
set GOARCH=amd64
go build -o curd.exe -ldflags="-s -w" -trimpath cmd\curd\main.go
go build -o curd.exe -ldflags="-s -w" -trimpath cmd\curd\main.go
tree /F

0 comments on commit 450a0cf

Please sign in to comment.