From 4bdf793aff4de41c6eaafd94edb8a5da45e18a54 Mon Sep 17 00:00:00 2001 From: fedor Date: Wed, 24 Jan 2024 12:19:25 -0500 Subject: [PATCH] Fixed Goreleaser --- .goreleaser.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a5da983..aa90889 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -8,24 +8,17 @@ before: - gon gon.hcl builds: - - id: tart-arm64 + - id: tart builder: prebuilt + goamd64: [v1] goos: - darwin goarch: - arm64 - binary: tart.app/Contents/MacOS/tart - prebuilt: - path: .build/arm64-apple-macosx/release/tart - - id: tart-x86_64 - builder: prebuilt - goos: - - darwin - goarch: - amd64 binary: tart.app/Contents/MacOS/tart prebuilt: - path: .build/x86_64-apple-macosx/release/tart + path: '.build/{{- if eq .Arch "arm64" }}arm64{{- else }}x86_64{{ end }}-apple-macosx/release/tart' archives: - name_template: "{{ .ProjectName }}-{{ .Arch }}" @@ -40,7 +33,7 @@ release: brews: - name: tart - tap: + repository: owner: cirruslabs name: homebrew-cli caveats: See the GitHub repository for more information