Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Commit

Permalink
Prefer goreleaser also in build task
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jun 19, 2023
1 parent 1536d58 commit 570c169
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
(prepared bash)

> task
task: [build] go build ..."
task: [build] ..."
task: [test] go test
task: [lint] dprint check
task: [lint] go vet
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tasks:
- go install -ldflags "-X main.commit=$(git rev-parse HEAD) -X main.date=$(date --iso-8601)"
build:
cmds:
- go build -ldflags "-X main.commit=$(git rev-parse HEAD) -X main.date=$(date --iso-8601)"
- goreleaser build --snapshot --single-target --clean
test:
cmds:
- go test
Expand Down

0 comments on commit 570c169

Please sign in to comment.