version: 2 builds: - id: ted_macos targets: - darwin_amd64 - darwin_arm64 env: - CGO_ENABLED=0 main: . binary: ted - id: ted_linux targets: - linux_amd64 - linux_arm64 env: - CGO_ENABLED=0 main: . binary: ted notarize: macos: - enabled: true ids: - ted_macos sign: certificate: "{{.Env.MACOS_SIGN_P12}}" password: "{{.Env.MACOS_SIGN_PASSWORD}}" notarize: issuer_id: "{{.Env.MACOS_NOTARY_ISSUER_ID}}" key_id: "{{.Env.MACOS_NOTARY_KEY_ID}}" key: "{{.Env.MACOS_NOTARY_KEY}}" wait: true timeout: 20m archives: - id: macos_tgz ids: - ted_macos wrap_in_directory: false formats: - tar.gz - id: linux_tgz ids: - ted_linux wrap_in_directory: false formats: - tar.gz release: gitea: owner: cmd name: ted ids: - macos_tgz - linux_tgz homebrew_casks: - name: ted ids: - ted_macos repository: owner: casks name: dynamo-browse git: url: 'forgejo@lmika.dev:casks/ted.git' private_key: "{{ .Env.HOMEBREW_TAP_PRIVATE_KEY }}" directory: Casks homepage: https://ted.lmika.dev/ description: TUI tools for working with CSV files license: MIT checksum: name_template: 'checksums-macos.txt' snapshot: version_template: "{{ .Tag }}-next" gitea_urls: api: https://lmika.dev/api/v1 download: https://lmika.dev # set to true if you use a self-signed certificate skip_tls_verify: false