Skip to content

Commit

Permalink
fix: Build invalid binary for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pluveto committed Feb 5, 2023
1 parent 4cf1be8 commit 4487168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ windows: prepare
[ -z "$$BIN_NAME" ] && continue; \
for GOARCH in $(GOARCHS); do \
mkdir -p dist/windows_$$GOARCH; \
OOSG=windows GOARCH=$$GOARCH go build -o dist/windows_$$GOARCH/$$BIN_NAME.exe cmd/$$BIN_NAME/main.go; \
GOOS=windows GOARCH=$$GOARCH go build -o dist/windows_$$GOARCH/$$BIN_NAME.exe cmd/$$BIN_NAME/main.go; \
done \
done

Expand Down

0 comments on commit 4487168

Please sign in to comment.