mirror of https://github.com/go-gitea/gitea
Remove .exe suffix when cross-compiling on Windows (#27448)
When compiling GItea for Linux on Windows, you get a `gitea.exe` file as output, but because it's a Linux executable, the `.exe` extension is unnecessary. This PR adds a check for `GOOS` environment variable in addition to `OS`.pull/27492/head
parent
e820d9966d
commit
6acce16ee3
Loading…
Reference in new issue