1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
Files
mxpv-podsync/.goreleaser.yml

55 lines
978 B
YAML

project_name: "Podsync"
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/podsync/
binary: podsync
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
dockers:
- image_templates:
- "{{ .Env.DOCKERHUB_USER }}/podsync:{{ .Tag }}"
- "{{ .Env.DOCKERHUB_USER }}/podsync:v{{ .Major }}.{{ .Minor }}"
- "{{ .Env.DOCKERHUB_USER }}/podsync:latest"
- "ghcr.io/{{ .Env.GHCR_USER }}/podsync:{{ .Tag }}"
- "ghcr.io/{{ .Env.GHCR_USER }}/podsync:latest"
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: '{{ .Tag }}-next'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch