File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 steps :
1818 - uses : actions/checkout@v3
1919 with :
20- fetch-depth : ' 0 '
20+ fetch-depth : " 0 "
2121
2222 - name : Bump version and push tag
2323 uses : anothrNick/github-tag-action@1.64.0
2828
2929 goreleaser :
3030 runs-on : ubuntu-latest
31- needs : [ tag ]
31+ needs : [tag]
3232
3333 steps :
3434 - name : Checkout
4949 args : release --clean
5050 env :
5151 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ GITHUB_HOMEBREW_TAP_AUTH_TOKEN : ${{ secrets.GITHUB_HOMEBREW_TAP_AUTH_TOKEN }}
Original file line number Diff line number Diff line change @@ -45,6 +45,24 @@ archives:
4545 {{- else if eq .Arch "386" }}i386
4646 {{- else }}{{ .Arch }}{{ end }}
4747
48+ brews :
49+ -
50+ name : cli
51+ url_template : " https://github.com/ThreeDotsLabs/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
52+ commit_author :
53+ name : goreleaserbot
54+ email : bot@goreleaser.com
55+ commit_msg_template : " Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
56+ homepage : " https://academy.threedots.tech/"
57+ description : " This is the tdl CLI tool used for running the interactive trainings on the https://academy.threedots.tech/"
58+ custom_block : |
59+ head "https://github.com/ThreeDotsLabs/cli.git"
60+ repository :
61+ owner : ThreeDotsLabs
62+ name : homebrew-tap
63+ branch : main
64+ token : " {{ .Env.GITHUB_HOMEBREW_TAP_AUTH_TOKEN }}"
65+
4866checksum :
4967 name_template : ' checksums.txt'
5068snapshot :
You can’t perform that action at this time.
0 commit comments