File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Update Homebrew Tap
22
3- # on:
4- # release:
5- # types: [published]
6-
73on :
8- push :
9- branches :
10- - main
4+ release :
5+ types : [published]
6+
117jobs :
128 update-tap :
139 runs-on : ubuntu-latest
2016 token : ${{ secrets.CODA_HOMEBREW_ACCESS_TOKEN }}
2117
2218 - name : Set Release Name
23- run : echo "RELEASE_NAME=v0.0.1 " >> $GITHUB_ENV
19+ run : echo "RELEASE_NAME=${{ github.event.release.tag_name }} " >> $GITHUB_ENV
2420
2521 - name : Download Release Assets
2622 run : |
Original file line number Diff line number Diff line change 5959 with :
6060 go-version : " 1.24.3"
6161
62+ - name : Hydrate .version with given tag
63+ run : echo "v${{ github.ref_name }}" > cmd/.version
64+
6265 - name : Build
6366 run : |
6467 make build+all
Original file line number Diff line number Diff line change 1- 0.0.1
1+ 0.0.2
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var rootCmd = &cobra.Command{
2424
2525func Execute (args []string ) {
2626 rootCmd .SetHelpCommand (& cobra.Command {
27- Use : "help" ,
27+ Use : "no- help" ,
2828 Hidden : true ,
2929 })
3030
You can’t perform that action at this time.
0 commit comments