Skip to content

Commit

Permalink
Switched from amd64 to x64 naming in executables
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Jan 12, 2024
1 parent d2055d2 commit b518dd3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.ps1
Expand Up @@ -13,6 +13,12 @@ function BuildVariants {
foreach ($currentos in $os) {
$env:GOARCH = $currentarch
$env:GOOS = $currentos

# More sensible naming for x64
if ($currentarch -eq "amd64") {
$currentarch = "x64"
}

go build -ldflags "$ldflags" -o binaries/$prefix-$currentos-$currentarch-$VERSION$suffix $compileflags $path
if (Get-Command "cyclonedx-gomod" -ErrorAction SilentlyContinue)
{
Expand Down

0 comments on commit b518dd3

Please sign in to comment.