mirror of https://github.com/cirruslabs/tart.git
Revert most of the release logic after 1.0.0 (#443)
Logic for building .tar.gz should be the same as for 1.0.0 and only after that a .pkg is build to make sure it's not interfering. Let's try this before disabling building .pkg all together.
This commit is contained in:
parent
5b8d1d1168
commit
0a970462e8
|
|
@ -4,10 +4,6 @@ before:
|
|||
hooks:
|
||||
- .ci/set-version.sh
|
||||
- swift build -c debug --product tart
|
||||
- xattr -cr .build/arm64-apple-macosx/debug/tart
|
||||
- gon gon.hcl
|
||||
- codesign --verify --deep --strict .build/arm64-apple-macosx/debug/tart
|
||||
- ./.ci/create-pkg.sh
|
||||
|
||||
builds:
|
||||
- builder: prebuilt
|
||||
|
|
@ -17,12 +13,22 @@ builds:
|
|||
- arm64
|
||||
prebuilt:
|
||||
path: .build/arm64-apple-macosx/debug/tart
|
||||
hooks:
|
||||
post:
|
||||
- gon gon.hcl
|
||||
|
||||
archives:
|
||||
- name_template: "{{ .ProjectName }}"
|
||||
files:
|
||||
- src: Resources/embedded.provisionprofile
|
||||
dst: tart.app/Contents
|
||||
strip_parent: true
|
||||
- src: ".build/arm64-apple-macosx/debug/tart"
|
||||
dst: tart.app/Contents/MacOS
|
||||
strip_parent: true
|
||||
hooks:
|
||||
after:
|
||||
- ./.ci/create-pkg.sh
|
||||
|
||||
release:
|
||||
prerelease: auto
|
||||
|
|
@ -42,9 +48,7 @@ brews:
|
|||
dependencies:
|
||||
- "cirruslabs/cli/softnet"
|
||||
install: |
|
||||
mkdir_p libexec/"tart.app/Contents/MacOS/"
|
||||
libexec.install "tart" => "tart.app/Contents/MacOS/tart"
|
||||
libexec.install "embedded.provisionprofile" => "tart.app/Contents/embedded.provisionprofile"
|
||||
libexec.install Dir["*"]
|
||||
bin.write_exec_script "#{libexec}/tart.app/Contents/MacOS/tart"
|
||||
custom_block: |
|
||||
depends_on :macos => :monterey
|
||||
|
|
|
|||
Loading…
Reference in New Issue