Skip to content

Commit

Permalink
up goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
kurehajime committed Aug 10, 2022
1 parent e4e718c commit 3121114
Showing 1 changed file with 14 additions and 26 deletions.
40 changes: 14 additions & 26 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
project_name: dajarep
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/dajarep/main.go
- main: ./cmd/dajarep
binary: dajarep
env:
- CGO_ENABLED=0
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
- darwin
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: macos
linux: linux
windows: windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
release:
prerelease: auto
- format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 3121114

Please sign in to comment.