diff --git a/BUILD b/BUILD index 416d93e..9f2ef82 100644 --- a/BUILD +++ b/BUILD @@ -6,6 +6,7 @@ gazelle(name = "gazelle") filegroup( name = "release_artifacts", srcs = [ + "//cmd/engflow_auth:engflow_auth_linux_arm64", "//cmd/engflow_auth:engflow_auth_linux_x64", "//cmd/engflow_auth:engflow_auth_macos_arm64", "//cmd/engflow_auth:engflow_auth_macos_x64", diff --git a/cmd/engflow_auth/BUILD b/cmd/engflow_auth/BUILD index 5b41b23..363e7e0 100644 --- a/cmd/engflow_auth/BUILD +++ b/cmd/engflow_auth/BUILD @@ -66,3 +66,10 @@ go_cross_binary( target = ":engflow_auth", visibility = RELEASE_ARTIFACT, ) + +go_cross_binary( + name = "engflow_auth_linux_arm64", + platform = "@rules_go//go/toolchain:linux_arm64_cgo", + target = ":engflow_auth", + visibility = RELEASE_ARTIFACT, +) diff --git a/infra/release.sh b/infra/release.sh index e003ffa..8c084f7 100755 --- a/infra/release.sh +++ b/infra/release.sh @@ -97,6 +97,10 @@ echo "[FINISH] Building artifacts" # resolution, we may be able to drop this staging step and the corresponding # temp dir. echo "[START] Staging artifacts" +cp \ + bazel-out/k8-fastbuild-ST-*/bin/cmd/engflow_auth/engflow_auth_linux_arm64 \ + "${ARTIFACTS_DIR}/engflow_auth_linux_arm64" + cp \ bazel-out/k8-fastbuild-ST-*/bin/cmd/engflow_auth/engflow_auth_linux_x64 \ "${ARTIFACTS_DIR}/engflow_auth_linux_x64" @@ -119,6 +123,7 @@ echo "[START] Creating release" ${GH_CLI} release create \ "${RELEASE_VERSION}" \ --generate-notes \ + "${ARTIFACTS_DIR}/engflow_auth_linux_arm64#engflow_auth (Linux, arm64)" \ "${ARTIFACTS_DIR}/engflow_auth_linux_x64#engflow_auth (Linux, x64)" \ "${ARTIFACTS_DIR}/engflow_auth_macos_arm64#engflow_auth (macOS, arm64)" \ "${ARTIFACTS_DIR}/engflow_auth_macos_x64#engflow_auth (macOS, x64)" \