Skip to content

Commit 8424eea

Browse files
authored
fix: remove resource.syso after building windows binary (#7507)
Signed-off-by: sspaink <[email protected]>
1 parent 804dcc1 commit 8424eea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ ci-build-windows: ensure-release-dir
315315
@$(MAKE) build GOOS=windows CC=x86_64-w64-mingw32-gcc
316316
mv opa_windows_$(GOARCH) $(RELEASE_DIR)/opa_windows_$(GOARCH).exe
317317
cd $(RELEASE_DIR)/ && shasum -a 256 opa_windows_$(GOARCH).exe > opa_windows_$(GOARCH).exe.sha256
318+
rm resource.syso
318319

319320
.PHONY: ensure-release-dir
320321
ensure-release-dir:
@@ -548,6 +549,7 @@ depr-build-darwin: ensure-release-dir
548549
depr-build-windows: ensure-release-dir
549550
@$(MAKE) build GOOS=windows CGO_ENABLED=0 WASM_ENABLED=0
550551
mv opa_windows_$(GOARCH) $(RELEASE_DIR)/opa_windows_$(GOARCH).exe
552+
rm resource.syso
551553

552554
depr-release:
553555
$(DOCKER) run $(DOCKER_FLAGS) \

0 commit comments

Comments
 (0)