Skip to content

Commit

Permalink
update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony committed Jan 6, 2019
1 parent dc2d040 commit c634e08
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ Thumbs.db
/cmd/job/job
/target
/configs
/dist
17 changes: 15 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,21 @@ before:
- cp cmd/logic/logic-example.toml configs/logic-example.toml
- cp cmd/job/job-example.toml configs/job-example.toml
builds:
- env:
- CGO_ENABLED=0
-
env:
- CGO_ENABLED=0
main: ./cmd/comet/main.go
binary: comet
-
env:
- CGO_ENABLED=0
main: ./cmd/logic/main.go
binary: logic
-
env:
- CGO_ENABLED=0
main: ./cmd/job/main.go
binary: job
archive:
replacements:
darwin: Darwin
Expand Down

0 comments on commit c634e08

Please sign in to comment.