workgroups/dist/config.yaml
Marvin Preuss 1d4ae27878
All checks were successful
continuous-integration/drone/push Build is passing
ci: drone yaml with reusable anchors
2021-09-24 17:34:17 +02:00

113 lines
2.8 KiB
YAML

project_name: workgroups
release:
github:
owner: xsteadfastx
name: workgroups
name_template: '{{.Tag}}'
milestones:
- repo:
owner: xsteadfastx
name: workgroups
name_template: '{{ .Tag }}'
scoop:
name: workgroups
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }}
builds:
- id: workgroups
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- "386"
goarm:
- "6"
gomips:
- hardfloat
targets:
- linux_amd64
- linux_arm64
- linux_386
- darwin_amd64
- darwin_arm64
dir: .
main: .
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
-X main.builtBy=goreleaser
binary: workgroups
builder: go
skip: true
gobinary: go
archives:
- id: default
builds:
- workgroups
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
format: tar.gz
files:
- src: license*
- src: LICENSE*
- src: readme*
- src: README*
- src: changelog*
- src: CHANGELOG*
allow_different_binary_count: false
snapshot:
name_template: '{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
algorithm: sha256
changelog:
filters:
exclude:
- '^Bump version:'
- ^\[NO CHANGELOG\]
- '^build:'
- '^ci:'
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
gomod:
gobinary: go
announce:
twitter:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .GitURL
}}/releases/tag/{{ .Tag }}'
reddit:
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
url_template: '{{ .GitURL }}/releases/tag/{{ .Tag }}'
slack:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .GitURL
}}/releases/tag/{{ .Tag }}'
username: GoReleaser
discord:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .GitURL
}}/releases/tag/{{ .Tag }}'
author: GoReleaser
color: "3888754"
icon_url: https://goreleaser.com/static/avatar.png
teams:
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .GitURL
}}/releases/tag/{{ .Tag }}'
color: '#2D313E'
icon_url: https://goreleaser.com/static/avatar.png
github_urls:
download: https://github.com
gitlab_urls:
download: https://gitlab.com
gitea_urls:
api: https://git.xsfx.dev/api/v1/
download: https://git.xsfx.dev/