mirror of https://github.com/cirruslabs/tart.git
goreleaser: nest versioned depends_on macos in on_macos block
This commit is contained in:
parent
0a01a4430c
commit
4af4f92bd5
|
|
@ -72,7 +72,9 @@ brews:
|
|||
libexec.install Dir["*"]
|
||||
bin.write_exec_script "#{libexec}/tart.app/Contents/MacOS/tart"
|
||||
custom_block: |
|
||||
depends_on :macos => :ventura
|
||||
on_macos do
|
||||
depends_on macos: :ventura
|
||||
end
|
||||
def post_install
|
||||
generate_completions_from_executable(libexec/"tart.app/Contents/MacOS/tart", "--generate-completion-script")
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue