diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1b0034..1958dee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,4 +34,5 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index dc6a0ee..3cfb896 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -40,7 +40,8 @@ builds: archives: - id: ork - format: tar.gz + formats: + - tar.gz name_template: >- {{ .ProjectName }}_ {{- .Version }}_ @@ -51,7 +52,8 @@ archives: {{- if .Arm }}v{{ .Arm }}{{ end }} format_overrides: - goos: windows - format: zip + formats: + - zip files: - README.md - LICENSE* @@ -60,17 +62,15 @@ checksum: name_template: 'checksums.txt' algorithm: sha256 -brews: - - repository: +homebrew_casks: + - name: ork + binary: ork + repository: owner: ork-cli name: homebrew-tap description: "Orchestrate your microservices with simplicity and power" homepage: https://github.com/ork-cli/ork license: Apache-2.0 - test: | - system "#{bin}/ork --version" - install: | - bin.install "ork" changelog: use: github