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:
107 107
108 - name: Update Inno Setup Script with New Version 108 - name: Update Inno Setup Script with New Version
109 run: | 109 run: |
110 sed -i "s/AppVersion=.*/AppVersion=${{ steps.bump_version.outputs.new_version }}/" Build/curd-windows-build.iss 110 $new_version = Get-Content VERSION.txt
111 111 $iss_path = "Build/curd-windows-build.iss"
112 (Get-Content $iss_path) -replace "AppVersion=.*", "AppVersion=$new_version" | Set-Content $iss_path
113
112 - name: Create Windows Installer 114 - name: Create Windows Installer
113 run: | 115 run: |
114 & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "D:\a\curd\curd\Build\curd-windows-build.iss" 116 & "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 @@
1@echo off 1@echo off
2set GOOS=windows 2set GOOS=windows
3set GOARCH=amd64 3set 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