Files
axis_timelapse/dist/config.yaml
2025-10-05 22:13:51 +00:00

160 lines
4.7 KiB
YAML

version: 2
project_name: axis_timelapse
release:
github:
owner: 57_Wolve
name: axis_timelapse
gitea:
owner: 57_Wolve
name: axis_timelapse
name_template: '{{.Tag}}'
scoops:
- name: axis_timelapse
commit_author:
name: 57_Wolve
email: william.gill@anomalous.dev
signing:
key: '{{ .Env.GPG_SIGNING_KEY }}'
program: gpg2
format: openpgp
commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }}
homepage: https://anomalous.dev/
description: axis_timelapse
license: GPLv3
url_template: https://git.anomalous.dev/57_Wolve/axis_timelapse/releases/download/{{ .Tag }}/{{ .ArtifactName }}
goamd64: v1
builds:
- id: axis_timelapse
goos:
- linux
- windows
goarch:
- amd64
goamd64:
- v1
go386:
- sse2
goarm:
- "6"
goarm64:
- v8.0
gomips:
- hardfloat
goppc64:
- power8
goriscv64:
- rva20u64
targets:
- linux_amd64_v1
- windows_amd64_v1
dir: .
main: ./axis_timelapse.go
binary: axis_timelapse
builder: go
mod_timestamp: '{{ .CommitTimestamp }}'
tool: go
command: build
ldflags:
- -w -X axis_timelapse/config.Version={{.Version}} -X axis_timelapse/config.Build={{.ShortCommit}} -X axis_timelapse/config.SentryDSN=https://70209de06de24662a0f43b47a99de86b@sentry.alphacentri.com/2
env:
- CGO_ENABLED=0
archives:
- id: default
builds_info:
mode: 493
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
formats:
- tar
format_overrides:
- goos: windows
formats:
- zip
files:
- src: license*
- src: LICENSE*
- src: readme*
- src: README*
- src: changelog*
- src: CHANGELOG*
snapshot:
version_template: '{{ incpatch .Version }}'
checksum:
name_template: checksums.txt
algorithm: sha256
docker_digest:
name_template: digests.txt
changelog:
format: '{{ .SHA }} {{ .Message }}'
dist: dist
env_files:
github_token: ~/.config/goreleaser/github_token
gitlab_token: ~/.config/goreleaser/gitlab_token
gitea_token: ~/.config/goreleaser/gitea_token
before:
hooks:
- go mod tidy
- go generate
source:
name_template: '{{ .ProjectName }}_{{ .Version }}'
format: tar.gz
enabled: true
gomod:
gobinary: go
announce:
twitter:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
mastodon:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
server: ""
reddit:
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
url_template: '{{ .ReleaseURL }}'
slack:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
username: GoReleaser
discord:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
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 {{ .ReleaseURL }}'
color: '#2D313E'
icon_url: https://goreleaser.com/static/avatar.png
smtp:
subject_template: '{{ .ProjectName }} {{ .Tag }} is out!'
body_template: 'You can view details from: {{ .ReleaseURL }}'
mattermost:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
username: GoReleaser
linkedin:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
telegram:
message_template: '{{ mdv2escape .ProjectName }} {{ mdv2escape .Tag }} is out{{ mdv2escape "!" }} Check it out at {{ mdv2escape .ReleaseURL }}'
parse_mode: MarkdownV2
webhook:
message_template: '{ "message": "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}"}'
content_type: application/json; charset=utf-8
expected_status_codes:
- 200
- 201
- 202
- 204
opencollective:
title_template: '{{ .Tag }}'
message_template: '{{ .ProjectName }} {{ .Tag }} is out!<br/>Check it out at <a href="{{ .ReleaseURL }}">{{ .ReleaseURL }}</a>'
bluesky:
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
git:
tag_sort: -version:refname
force_token: gitea
github_urls:
download: https://github.com
gitlab_urls:
download: https://gitlab.com
gitea_urls:
api: https://git.anomalous.dev/api/v1
download: https://git.anomalous.dev/