修复发布构建本机路径泄漏并补齐产物检查

This commit is contained in:
xuans committed 2026-09-20 02:01:06 +08:00
1 parent ba6c6d13e5
commit a21240109a
13 files changed
+436 -28

No files matched your search

+2 -2
View File
@@ -83,7 +83,7 @@ SCERT_SERVER_HTTPS_MODE=proxy
```powershell
go fmt ./...
go test ./...
go build -o dist/scert.exe ./cmd/scert
go build -trimpath -o dist/scert.exe ./cmd/scert
```
Linux amd64 交叉编译:
@@ -91,7 +91,7 @@ Linux amd64 交叉编译:
```powershell
$env:GOOS = 'linux'
$env:GOARCH = 'amd64'
go build -o dist/scert-linux-amd64 ./cmd/scert
go build -trimpath -o dist/scert-linux-amd64 ./cmd/scert
Remove-Item Env:GOOS
Remove-Item Env:GOARCH
```