From c48ed4dcf75bc924cb8c276f87dc61feab46c3ec Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 25 Apr 2024 12:57:48 -0400 Subject: [PATCH] fix(bytebase) closes #5982 --- projects/bytebase.com/package.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/projects/bytebase.com/package.yml b/projects/bytebase.com/package.yml index 78e46228..94b1d625 100644 --- a/projects/bytebase.com/package.yml +++ b/projects/bytebase.com/package.yml @@ -8,11 +8,25 @@ versions: dependencies: nodejs.org: '>=20.10' +platforms: + - linux + - darwin/aarch64 +# this changed in 2.16.0: +# case runtime.GOOS == "darwin" && runtime.GOARCH == "arm64": +# tarName = "mongoutil-1.6.1-darwin-arm64.txz" +# case runtime.GOOS == "linux" && runtime.GOARCH == "amd64": +# tarName = "mongoutil-1.6.1-linux-amd64.txz" +# case runtime.GOOS == "linux" && runtime.GOARCH == "arm64": +# tarName = "mongoutil-1.6.1-linux-arm64.txz" +# default: +# return "", "", errors.Errorf("unsupported platform: %s/%s", runtime.GOOS, runtime.GOARCH) + build: dependencies: - go.dev: ^1.22 + go.dev: =1.21.6 pnpm.io: '*' linux: + kerberos.org: 1 # added in 2.16.0 # error: invalid linker name in argument '-fuse-ld=gold' gnu.org/gcc: '*' script: