Skip to content

Commit

Permalink
added homebrew tap releases
Browse files Browse the repository at this point in the history
  • Loading branch information
roblaszczak committed Jan 24, 2025
1 parent a015cd1 commit aef60ed
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
fetch-depth: "0"

- name: Bump version and push tag
uses: anothrNick/[email protected]
Expand All @@ -28,7 +28,7 @@ jobs:

goreleaser:
runs-on: ubuntu-latest
needs: [ tag ]
needs: [tag]

steps:
- name: Checkout
Expand All @@ -49,3 +49,4 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_HOMEBREW_TAP_AUTH_TOKEN: ${{ secrets.GITHUB_HOMEBREW_TAP_AUTH_TOKEN }}
18 changes: 18 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@ archives:
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
brews:
-
name: cli
url_template: "https://github.com/ThreeDotsLabs/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://academy.threedots.tech/"
description: "This is the tdl CLI tool used for running the interactive trainings on the https://academy.threedots.tech/"
custom_block: |
head "https://github.com/ThreeDotsLabs/cli.git"
repository:
owner: ThreeDotsLabs
name: homebrew-tap
branch: main
token: "{{ .Env.GITHUB_HOMEBREW_TAP_AUTH_TOKEN }}"

checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit aef60ed

Please sign in to comment.