加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/koordinator-sh/koordinator
克隆/下载
.goreleaser.yaml 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
project_name: koordinator-sh
env:
- GIT_URL=https://github.com/koordinator-sh/koordinator
before:
hooks:
- go mod tidy
builds:
- id: koord-runtime-proxy
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
main: ./cmd/koord-runtime-proxy
binary: koord-runtime-proxy
ldflags:
- -s -w
- -X github.com/koordinator-sh/koordinator/pkg/version.version={{ .Version }}
- -X github.com/koordinator-sh/koordinator/pkg/version.buildDate={{ .Date }}
- -X github.com/koordinator-sh/koordinator/pkg/version.gitCommit={{ .Commit }}
- -X github.com/koordinator-sh/koordinator/pkg/version.gitTreeState=clean
archives:
- id: koord-runtime-proxy
format: binary
builds:
- koord-runtime-proxy
# Default template: https://goreleaser.com/customization/archive/
name_template: >-
{{ .Binary }}_
{{ .Version }}_
{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^build:'
- '^ci:'
- '^docs:'
- '^test:'
- '^chore:'
- '^feat(deps):'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化