-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
57 lines (50 loc) · 1.11 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
project_name: awsctl
release:
github:
owner: outlawlabs
name: awsctl
draft: true
build:
binary: awsctl
main: ./cmd/awsctl
flags:
- -mod=vendor
ldflags: -s -w -X main.timestamp={{.Date}} -X main.commitHash={{.Commit}} -X main.version={{.Version}}
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- tap:
owner: outlawlabs
name: homebrew-tap
folder: Formula
homepage: https://github.com/outlawlabs/awsctl
description: CLI based tool to help manage AWS profiles for accounts enabled with MFA
test: |
system "#{bin}/awsctl --version"