| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- ---
-
- version: 2
-
- project_name: mtg-multi
-
- before:
- hooks:
- - go mod tidy
- - go generate ./...
-
- builds:
- - id: default
- binary: mtg-multi
- goos:
- - linux
- - darwin
- goarch:
- - amd64
- - arm64
- env:
- - CGO_ENABLED=0
- flags:
- - -trimpath
- - -mod=readonly
- ldflags: -s -w -X main.version={{ .Version }}
-
- archives:
- - id: default
- ids:
- - default
- name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}'
- formats:
- - tar.gz
- wrap_in_directory: true
- files:
- - LICENSE
- - README.md
- - example.config.toml
-
- snapshot:
- version_template: '{{ .Version }}'
-
- checksum:
- name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'
|