代码拉取完成,页面将自动刷新
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- freebsd
- openbsd
goarch:
- amd64
- arm
- arm64
ldflags:
- -s -w -X "github.com/kopia/kopia/repo.BuildVersion={{.Version}}" -X "github.com/kopia/kopia/repo.BuildInfo={{.Commit}}" -X "github.com/kopia/kopia/repo.BuildGitHubRepo={{.Env.GITHUB_REPOSITORY}}"
release:
draft: false
archives:
- id: default
replacements:
darwin: macOS
linux: linux
windows: windows
freebsd: freebsd-experimental
openbsd: openbsd-experimental
amd64: x64
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: '{{ .Env.KOPIA_VERSION_NO_PREFIX }}'
nfpms:
- homepage: https://kopia.io
vendor: Kopia Project
description: Fast and secure open source backup.
license: Apache 2.0
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
arm: armhf
formats:
- deb
- rpm
bindir: /usr/bin
overrides:
rpm:
file_name_template: "{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}"
replacements:
amd64: x86_64
arm64: aarch64
arm: armhfp
signs:
- id: all
artifacts: checksum
cmd: tools/sign.sh
args: ["${artifact}", "${signature}"]
changelog:
filters:
exclude:
- '^docs:'
- '^test:'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。