.goreleaser.yml: remove Tart binary from the root of the archive (#526)

This commit is contained in:
Nikolay Edigaryev 2023-06-29 10:54:30 +04:00 committed by GitHub
parent 4f321ec264
commit 859050cb42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -4,6 +4,8 @@ before:
hooks:
- .ci/set-version.sh
- swift build -c release --product tart
- mkdir -p tart.app/Contents/MacOS
- cp .build/arm64-apple-macosx/release/tart tart.app/Contents/MacOS/
builds:
- builder: prebuilt
@ -11,8 +13,9 @@ builds:
- darwin
goarch:
- arm64
binary: tart.app/Contents/MacOS/tart
prebuilt:
path: .build/arm64-apple-macosx/release/tart
path: tart.app/Contents/MacOS/tart
hooks:
post:
- gon gon.hcl
@ -23,9 +26,6 @@ archives:
- src: Resources/embedded.provisionprofile
dst: tart.app/Contents
strip_parent: true
- src: ".build/arm64-apple-macosx/release/tart"
dst: tart.app/Contents/MacOS
strip_parent: true
- LICENSE
release: