89 lines
1.7 KiB
YAML
89 lines
1.7 KiB
YAML
project_name: samurai
|
|
release:
|
|
github:
|
|
owner: xsteadfastx
|
|
name: samurai
|
|
name_template: '{{.Tag}}'
|
|
milestones:
|
|
- repo:
|
|
owner: xsteadfastx
|
|
name: samurai
|
|
name_template: '{{ .Tag }}'
|
|
scoop:
|
|
name: samurai
|
|
commit_author:
|
|
name: goreleaserbot
|
|
email: goreleaser@carlosbecker.com
|
|
commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }}
|
|
builds:
|
|
- id: samurai
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
goarm:
|
|
- "6"
|
|
targets:
|
|
- linux_amd64
|
|
dir: .
|
|
main: .
|
|
ldflags:
|
|
- -s
|
|
- -w
|
|
- -extldflags '-static'
|
|
binary: samurai
|
|
env:
|
|
- CGO_ENABLED=0
|
|
lang: go
|
|
gobinary: go
|
|
archives:
|
|
- id: default
|
|
builds:
|
|
- samurai
|
|
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
|
|
}}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
|
|
replacements:
|
|
darwin: macos
|
|
format: tar.gz
|
|
files:
|
|
- licence*
|
|
- LICENCE*
|
|
- license*
|
|
- LICENSE*
|
|
- readme*
|
|
- README*
|
|
- changelog*
|
|
- CHANGELOG*
|
|
allow_different_binary_count: false
|
|
snapshot:
|
|
name_template: '{{ .Tag }}-next'
|
|
checksum:
|
|
name_template: checksums.txt
|
|
algorithm: sha256
|
|
dockers:
|
|
- goos: linux
|
|
goarch: amd64
|
|
dockerfile: build/package/docker/Dockerfile
|
|
image_templates:
|
|
- ghcr.io/xsteadfastx/samurai:latest
|
|
- ghcr.io/xsteadfastx/samurai:{{ .Tag }}
|
|
- ghcr.io/xsteadfastx/samurai:{{ .Major }}
|
|
changelog:
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
sort: asc
|
|
dist: dist
|
|
env_files:
|
|
github_token: ~/.config/goreleaser/github_token
|
|
gitlab_token: ~/.config/goreleaser/gitlab_token
|
|
gitea_token: ~/.config/goreleaser/gitea_token
|
|
source:
|
|
name_template: '{{ .ProjectName }}-{{ .Version }}'
|
|
format: tar.gz
|
|
github_urls:
|
|
download: https://github.com
|
|
gitlab_urls:
|
|
download: https://gitlab.com
|