diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7dea2aad9..77692047b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -13,7 +13,7 @@ builds: main: ./cmd/envd binary: envd ldflags: - - -s -w + - -s -w - -X github.com/tensorchord/envd/pkg/version.version={{ .Version }} - -X github.com/tensorchord/envd/pkg/version.buildDate={{ .Date }} - -X github.com/tensorchord/envd/pkg/version.gitCommit={{ .Commit }} @@ -71,7 +71,7 @@ dockers: - "ghcr.io/tensorchord/envd-ssh-from-scratch:{{ .Version }}-amd64" use: buildx dockerfile: .goreleaser/envd-ssh.Dockerfile - ids: + ids: - envd-ssh build_flag_templates: - "--platform=linux/amd64" @@ -79,7 +79,7 @@ dockers: - "ghcr.io/tensorchord/envd-ssh-from-scratch:{{ .Version }}-arm64v8" use: buildx goarch: arm64 - ids: + ids: - envd-ssh dockerfile: .goreleaser/envd-ssh.Dockerfile build_flag_templates: @@ -89,3 +89,21 @@ docker_manifests: image_templates: - ghcr.io/tensorchord/envd-ssh-from-scratch:{{ .Version }}-amd64 - ghcr.io/tensorchord/envd-ssh-from-scratch:{{ .Version }}-arm64v8 +brews: + - name: envd + ids: + - envd + tap: + owner: tensorchord + name: homebrew-tap + commit_author: + name: TensorChord + email: envd-maintainers@tensorchord.ai + folder: Formula + caveats: | + Please run `envd bootstrap` first to bootstrap + homepage: https://envd.tensorchord.ai/ + description: Development environment for data science and AI/ML teams + license: Apache-2.0 + test: | + system "#{bin}/envd version"