forked from pbar1/mfaws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
104 lines (93 loc) · 2.93 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{-
else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm
}}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
replace_existing_artifacts: true
kos:
- tags:
- latest
- "{{ .Version }}"
- "{{ .Major }}.{{ .Minor }}"
- "{{ .Major }}"
platforms:
- linux/amd64
- linux/arm64
annotations:
org.opencontainers.image.source: "https://github.com/pbar1/{{ .ProjectName }}"
org.opencontainers.image.description: AWS multi-factor authentication manager
org.opencontainers.image.licenses: MIT
creation_time: "{{ .CommitTimestamp }}"
bare: true
brews:
- homepage: https://github.com/pbar1/{{ .ProjectName }}
description: AWS multi-factor authentication manager
test: |
system "#{bin}/{{ .ProjectName }} version"
repository:
owner: pbar1
name: homebrew-tap
git:
url: git@github.com:pbar1/homebrew-tap.git
private_key: "{{ .Env.HOMEBREW_SSH_KEY }}"
scoops:
- homepage: https://github.com/pbar1/{{ .ProjectName }}
description: AWS multi-factor authentication manager
directory: bucket
repository:
owner: pbar1
name: scoop-bucket
git:
url: git@github.com:pbar1/scoop-bucket.git
private_key: "{{ .Env.SCOOP_SSH_KEY }}"
aurs:
- homepage: https://github.com/pbar1/{{ .ProjectName }}
description: AWS multi-factor authentication manager
git_url: "ssh://aur@aur.archlinux.org/{{ .ProjectName }}-bin.git"
private_key: "{{ .Env.AUR_SSH_KEY }}"
chocolateys:
- owners: Pierce Bartine
authors: Pierce Bartine
project_url: https://github.com/pbar1/{{ .ProjectName }}
url_template: https://github.com/pbar1/{{ .ProjectName }}/releases/download/{{
.Tag }}/{{ .ArtifactName }}
license_url: https://github.com/pbar1/{{ .ProjectName }}/blob/develop/LICENSE
require_license_acceptance: false
project_source_url: https://github.com/pbar1/{{ .ProjectName }}
docs_url: https://github.com/pbar1/{{ .ProjectName }}
bug_tracker_url: https://github.com/pbar1/{{ .ProjectName }}/issues
tags: "mfaws aws mfa 2fa two-factor-authentication multi-factor-authentication
amazon-web-services aws-sts sts awsmfa aws-mfa"
summary: AWS multi-factor authentication manager
description: AWS multi-factor authentication manager
release_notes: "https://github.com/pbar1/{{ .ProjectName }}/releases/tag/v{{ .Version }}"
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
source_repo: "https://push.chocolatey.org/"