From 1232b2cced32f0a19c1d3e997b8535bf6d444746 Mon Sep 17 00:00:00 2001 From: fedor Date: Tue, 28 Feb 2023 15:40:07 -0500 Subject: [PATCH] Reverted goreleaser --- .cirrus.yml | 4 ---- .goreleaser.yml | 12 ++++++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c076dbdf..c6d75f93 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -80,10 +80,6 @@ task: - security find-identity -v - xcodebuild -version - swift -version - build_script: - - .ci/set-version.sh - - swift build -c debug --product tart - - gon gon.hcl release_script: goreleaser upload_sentry_debug_files_script: - cd .build/arm64-apple-macosx/debug/ diff --git a/.goreleaser.yml b/.goreleaser.yml index c4c83372..55b7c24b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,10 @@ project_name: tart +before: + hooks: + - .ci/set-version.sh + - swift build -c debug --product tart + builds: - builder: prebuilt goos: @@ -7,7 +12,10 @@ builds: goarch: - arm64 prebuilt: - path: .build/arm64-apple-macosx/debug/tart + path: .build/arm64-apple-macosx/debug/tart + hooks: + post: + - gon gon.hcl archives: - name_template: "{{ .ProjectName }}" @@ -36,7 +44,7 @@ brews: - "cirruslabs/cli/softnet" install: | libexec.install Dir["*"] - bin.write_exec_script "#{libexec}/tart.app/Contents/MacOS/tart" + bin.write_exec_script "#{libexec}/Tart.app/Contents/MacOS/tart" custom_block: | depends_on :macos => :monterey