代码拉取完成,页面将自动刷新
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
# copy config
- cp cmd/comet/comet-example.toml configs/comet-example.toml
- cp cmd/logic/logic-example.toml configs/logic-example.toml
- cp cmd/job/job-example.toml configs/job-example.toml
builds:
-
env:
- CGO_ENABLED=0
main: ./cmd/comet/main.go
binary: comet
-
env:
- CGO_ENABLED=0
main: ./cmd/logic/main.go
binary: logic
-
env:
- CGO_ENABLED=0
main: ./cmd/job/main.go
binary: job
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
files:
- LICENSE
- README.md
- CHANGELOG.md
- configs/*
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。