Debian Codegraph @

.goreleaser.yml

raw symbols SCIP
1 version: 2
2
3 project_name: mage
4
5 release:
6 github:
7 owner: magefile
8 name: mage
9 draft: true
10 builds:
11 - binary: mage
12 main: .
13 ldflags: -s -w
14 goos:
15 - darwin
16 - linux
17 - windows
18 - freebsd
19 - netbsd
20 - openbsd
21 - dragonfly
22 goarch:
23 - amd64
24 - arm
25 - arm64
26 ignore:
27 - goos: openbsd
28 goarch: arm
29 goarm: 6
30 - goos: windows # goreleaser says this is a broken build
31 goarch: arm
32 goarm: 6
33 env:
34 - CGO_ENABLED=0
35 archives:
36 -
37 name_template: >-
38 {{.Binary}}_{{.Version}}_
39 {{- if eq .Os "darwin"}}macOS
40 {{- else if eq .Os "linux"}}Linux
41 {{- else if eq .Os "windows"}}Windows
42 {{- else if eq .Os "freebsd"}}FreeBSD
43 {{- else if eq .Os "netbsd"}}NetBSD
44 {{- else if eq .Os "openbsd"}}OpenBSD
45 {{- else if eq .Os "dragonfly"}}DragonFlyBSD
46 {{- else}}{{.Os}}{{end}}-
47 {{- if eq .Arch "amd64"}}64bit
48 {{- else if eq .Arch "386"}}32bit
49 {{- else if eq .Arch "arm"}}ARM
50 {{- else if eq .Arch "arm64"}}ARM64
51 {{- else}}{{.Arch}}{{end}}
52 formats:
53 - tar.gz
54 format_overrides:
55 - goos: windows
56 formats:
57 - zip
58 files:
59 - LICENSE
60 snapshot:
61 version_template: SNAPSHOT-{{ .Commit }}
62 checksum:
63 name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'