Skip to content

Commit

Permalink
Reverted goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
fkorotkov committed Feb 28, 2023
1 parent d497053 commit 1232b2c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
12 changes: 10 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
project_name: tart

before:
hooks:
- .ci/set-version.sh
- swift build -c debug --product tart

builds:
- builder: prebuilt
goos:
- darwin
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 }}"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1232b2c

Please sign in to comment.