2022-02-13 23:38:54 +08:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod tidy
|
|
|
|
builds:
|
|
|
|
- binary: shiori
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
2023-07-17 21:30:18 +08:00
|
|
|
- GIN_MODE=release
|
2022-02-13 23:38:54 +08:00
|
|
|
tags:
|
|
|
|
- netgo
|
|
|
|
- osusergo
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
goarm:
|
2023-07-02 18:50:29 +08:00
|
|
|
- "7"
|
2022-02-13 23:38:54 +08:00
|
|
|
ignore:
|
|
|
|
- goos: darwin
|
|
|
|
goarch: arm
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm64
|
|
|
|
archives:
|
2023-07-02 18:50:29 +08:00
|
|
|
- id: shiori
|
|
|
|
name_template: >-
|
|
|
|
{{ .ProjectName }}_
|
2023-07-02 18:54:08 +08:00
|
|
|
{{- if eq .Os "darwin" }}Darwin{{- else if eq .Os "linux" }}Linux{{- else if eq .Os "windows" }}Windows{{- else }}{{ .Os }}{{ end }}_
|
2023-07-02 18:50:29 +08:00
|
|
|
{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "arm64" }}aarch64{{- else }}{{ .Arch }}{{ end }}
|
2022-02-13 23:38:54 +08:00
|
|
|
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|
|
|
|
|
|
|
|
release:
|
|
|
|
prerelease: auto
|