build: metadonnees Windows (versioninfo) + workflow release CI

Embarque editeur/version/description dans le .exe via goversioninfo (.syso)
pour reduire les faux positifs antivirus sur le binaire Go. Ajoute un
workflow GitHub Actions qui build les 6 cibles et publie la release sur tag.
This commit is contained in:
nathaninline committed 2026-06-25 17:54:54 +02:00
1 parent 76f644e449
commit a453229642
4 files changed
+44

No files matched your search

+7
View File
@@ -1,4 +1,11 @@
// jean — single-binary LLM server manager + web UI for llama.cpp deployments.
//
// Les directives ci-dessous embarquent les métadonnées Windows (éditeur, version,
// description) dans le .exe pour réduire les faux positifs antivirus. Régénère
// les .syso après avoir bumpé la version : `go generate ./...`
// (nécessite : go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest)
//go:generate goversioninfo -64 -o resource_windows_amd64.syso versioninfo.json
//go:generate goversioninfo -64 -arm -o resource_windows_arm64.syso versioninfo.json
package main
import (
Binary file not shown.
Binary file not shown.
+37
View File
@@ -0,0 +1,37 @@
{
"FixedFileInfo": {
"FileVersion": {
"Major": 0,
"Minor": 2,
"Patch": 7,
"Build": 0
},
"ProductVersion": {
"Major": 0,
"Minor": 2,
"Patch": 7,
"Build": 0
},
"FileFlagsMask": "3f",
"FileFlags": "00",
"FileOS": "040004",
"FileType": "01",
"FileSubType": "00"
},
"StringFileInfo": {
"CompanyName": "Jean contributors",
"FileDescription": "Jean — gestionnaire mono-binaire de serveurs llama.cpp auto-hébergés",
"InternalName": "jean",
"LegalCopyright": "Copyright (c) 2026 Jean contributors. MIT License.",
"OriginalFilename": "jean.exe",
"ProductName": "Jean",
"ProductVersion": "0.2.7",
"Comments": "https://github.com/nathaninline/jean — projet open source (MIT)"
},
"VarFileInfo": {
"Translation": {
"LangID": "040C",
"CharsetID": "04B0"
}
}
}