Commit 450a0cfd34

450a0cfd34915da827a56a68a0ed043e82c7a90f

parent: caf103480b

Unsigned

Wraient <wraient.911@gmail.com> · 2024-10-26 18:44 UTC

Fix: God help me

Layout: unified · split

.github/workflows/ci-cd.yml +4 −2
@@ -107,8 +107,10 @@ jobs:
107107
108108 - name: Update Inno Setup Script with New Version
109109 run: |
110 sed -i "s/AppVersion=.*/AppVersion=${{ steps.bump_version.outputs.new_version }}/" Build/curd-windows-build.iss
111
110 $new_version = Get-Content VERSION.txt
111 $iss_path = "Build/curd-windows-build.iss"
112 (Get-Content $iss_path) -replace "AppVersion=.*", "AppVersion=$new_version" | Set-Content $iss_path
113
112114 - name: Create Windows Installer
113115 run: |
114116 & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "D:\a\curd\curd\Build\curd-windows-build.iss"
Build/buildwindows +2 −1
@@ -1,4 +1,5 @@
11@echo off
22set GOOS=windows
33set GOARCH=amd64
4go build -o curd.exe -ldflags="-s -w" -trimpath cmd\curd\main.go
\ No newline at end of file
4go build -o curd.exe -ldflags="-s -w" -trimpath cmd\curd\main.go
5tree /F
\ No newline at end of file