Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
chore: update goreleaer config
Browse files Browse the repository at this point in the history
  • Loading branch information
indes committed Apr 9, 2020
1 parent 29cd873 commit 922accb
Showing 1 changed file with 36 additions and 25 deletions.
61 changes: 36 additions & 25 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,46 @@
project_name: flowerss-bot
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
archive:
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: 32bit
amd64: 64bit
format_overrides:
- goos: windows
format: zip
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64

ignore:
- goos: darwin
goarch: 386
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
name_template: '{{ .ProjectName }}_checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch

archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
# amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- config.yml.sample
- LICENSE
- README.md

0 comments on commit 922accb

Please sign in to comment.