# replace everything that starts with __V_ targets: - platform: win32 arch: x64 url_template: https://github.com/cocmd/releases/download/v__VERSION__/cocmd-x86_64-windows.zip - platform: linux arch: x64 url_template: https://github.com/cocmd/releases/download/v__VERSION__/cocmd-x86_64-linux.tar.xz - platform: darwin arch: x64 url_template: https://github.com/cocmd/releases/download/v__VERSION__/cocmd-x86_64-macos.tar.xz - platform: darwin arch: arm64 url_template: https://github.com/cocmd/releases/download/v__VERSION__/cocmd-aarch64-macos.tar.xz brew: name: cocmd publish: true tap: __V_TAP_NAME__ recipe_fname: cocmd.rb recipe_template: | class __V_PROJECT_FORMULA__ < Formula desc "desc" homepage "http://github.com/cocmd" url "__URL__" version "__VERSION__" sha256 "__SHA__" def install bin.install "cocmd" end end