Skip to content

Commit

Permalink
ci: Fix main build path (#6)
Browse files Browse the repository at this point in the history
Forgot to adjust the `yamlfmt` command build to use the path to the
command; by default it looks for a main function in the root of the repo
which I don't have.
  • Loading branch information
braydonk committed Aug 22, 2022
1 parent d4ca124 commit 5522f02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ before:
hooks:
- go mod tidy
builds:
- env:
- id: yamlfmt
main: ./cmd/yamlfmt
binary: yamlfmt
env:
- CGO_ENABLED=0
goos:
- linux
Expand Down

0 comments on commit 5522f02

Please sign in to comment.