From 74d4adfae7c5de37a3fb67ba141e71277b81a803 Mon Sep 17 00:00:00 2001 From: mircearoata Date: Sun, 4 Feb 2024 12:01:29 +0100 Subject: [PATCH] Fix binding generation failing on CI --- .goreleaser.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index e8e205cb..d6827279 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,6 +5,9 @@ before: - go generate -x -tags tools ./... - go mod tidy - ./.github/convertWailsJsonPaths.sh + - wails generate module + - pnpm -C frontend install + - pnpm -C frontend build ### Build @@ -24,6 +27,11 @@ builds: - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} # Auto-update mode - -X main.updateMode=standalone + + flags: + - -s + - -skipbindings + - id: package-manager @@ -41,6 +49,10 @@ builds: # Auto-update mode - -X main.updateMode=package-manager + flags: + - -s + - -skipbindings + - id: nsis binary: SatisfactoryModManager-Setup # This name must match the nsis script OutFile, so the installer overwrites the wails built exe @@ -60,6 +72,8 @@ builds: - -X autoupdate.updateMode=nsis flags: + - -s + - -skipbindings - -nsis ### Package