Skip to content

Commit

Permalink
chore: fix built artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Apr 3, 2021
1 parent efe8516 commit 0b57d74
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
env:
- CGO_ENABLED=0
builds:
- binary: github-ci-monitor
id: github-ci-monitor
main: cmd/github-ci-monitor/main.go
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
Expand All @@ -22,5 +22,16 @@ builds:
- linux
goarch:
- amd64
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: 'darwin'
linux: 'linux'
windows: 'windows'
386: '386'
amd64: 'amd64'
format_overrides:
- goos: 'windows'
format: 'zip'
release:
prerelease: true

0 comments on commit 0b57d74

Please sign in to comment.