We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd1a09d commit efbc5ffCopy full SHA for efbc5ff
build.ps1
@@ -13,7 +13,10 @@ function BuildVariants {
13
foreach ($currentos in $os) {
14
$env:GOARCH = $currentarch
15
$env:GOOS = $currentos
16
- $outputfile = binaries/$prefix-$currentos-$currentarch$suffix
+ $outputfile = "binaries/$prefix-$currentos-$currentarch$suffix"
17
+ if ($currentos -eq "windows") {
18
+ $outputfile += ".exe"
19
+ }
20
go build -ldflags "$ldflags" -o $outputfile $compileflags $path
21
if (Get-Command "cyclonedx-gomod" -ErrorAction SilentlyContinue)
22
{
0 commit comments