| 1 |
project_name: humanlog |
| 2 |
before: |
| 3 |
hooks: |
| 4 |
- go mod tidy |
| 5 |
- go generate ./... |
| 6 |
builds: |
| 7 |
- main: ./cmd/humanlog/ |
| 8 |
binary: humanlog |
| 9 |
env: |
| 10 |
- CGO_ENABLED=0 |
| 11 |
ldflags: |
| 12 |
- -s -w -X main.versionMajor={{.Major}} -X main.versionMinor={{.Minor}} -X main.versionPatch={{.Patch}} -X main.versionPrerelease={{.Prerelease}} -X main.versionBuild={{.ShortCommit}} |
| 13 |
goos: |
| 14 |
- windows |
| 15 |
- darwin |
| 16 |
- linux |
| 17 |
goarch: |
| 18 |
- amd64 |
| 19 |
- arm64 |
| 20 |
release: |
| 21 |
github: |
| 22 |
owner: humanlogio |
| 23 |
name: humanlog |
| 24 |
archives: |
| 25 |
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" |
| 26 |
format_overrides: |
| 27 |
- goos: windows |
| 28 |
format: zip |
| 29 |
brews: |
| 30 |
- tap: |
| 31 |
owner: humanlogio |
| 32 |
name: homebrew-tap |
| 33 |
nfpms: |
| 34 |
- maintainer: "[email protected]" |
| 35 |
formats: |
| 36 |
- deb |
| 37 |
checksum: |
| 38 |
name_template: "checksums.txt" |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
snapshot: |
| 51 |
name_template: "{{ incpatch .Version }}-next" |
| 52 |
changelog: |
| 53 |
sort: asc |
| 54 |
filters: |
| 55 |
exclude: |
| 56 |
- "^docs:" |
| 57 |
- "^test:" |
| 58 |
|
| 59 |
|
| 60 |
|