Skip to content

Commit

Permalink
Merge branch 'macbuilds' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed May 28, 2024
2 parents b664273 + 2366f92 commit 0ab7dbf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
{
"path": "console_windows_x64.exe",
"label": "Windows x64 Console Executable"
},
{
"path": "console_mac_x64.exe",
"label": "Mac x64 Console Executable"
},
{
"path": "console_mac_arm64.exe",
"label": "Mac arm64 Console Executable"
}
]
}
Expand All @@ -31,7 +39,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "docker build -t vprodemo.azurecr.io/console:v${nextRelease.version} . && CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags \"-s -w -X 'github.com/open-amt-cloud-toolkit/console/internal/app.Version=${nextRelease.version}'\" -trimpath -o console_linux_x64 ./cmd/app/main.go && CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -ldflags \"-s -w -X 'github.com/open-amt-cloud-toolkit/console/internal/app.Version=${nextRelease.version}'\" -trimpath -o console_windows_x64.exe ./cmd/app/main.go",
"prepareCmd": "docker build -t vprodemo.azurecr.io/console:v${nextRelease.version} . && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags \"-s -w -X 'github.com/open-amt-cloud-toolkit/console/internal/app.Version=${nextRelease.version}'\" -trimpath -o console_linux_x64 ./cmd/app/main.go && CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags \"-s -w -X 'github.com/open-amt-cloud-toolkit/console/internal/app.Version=${nextRelease.version}'\" -trimpath -o console_windows_x64.exe ./cmd/app/main.go && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags \"-s -w -X 'github.com/open-amt-cloud-toolkit/console/internal/app.Version=${nextRelease.version}'\" -trimpath -o console_mac_x64.exe ./cmd/app/main.go && CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags \"-s -w -X 'github.com/open-amt-cloud-toolkit/console/internal/app.Version=${nextRelease.version}'\" -trimpath -o console_mac_arm64.exe ./cmd/app/main.go",
"publishCmd": "docker push vprodemo.azurecr.io/console:v${nextRelease.version}",
"verifyReleaseCmd": "echo v${nextRelease.version} > .nextVersion"
}
Expand Down

0 comments on commit 0ab7dbf

Please sign in to comment.