-
Notifications
You must be signed in to change notification settings - Fork 12
/
.goreleaser.yml
93 lines (85 loc) · 2.81 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
project_name: azbrowse
builds:
- id: all
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
main: ./cmd/azbrowse/
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} -X "main.goversion={{.Env.GOVERSION}}"
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
archives:
- id: zip
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format_overrides:
- goos: windows
format: zip
nfpms:
- file_name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
homepage: https://github.com/lawrencegripper/azbrowse
description: An interactive CLI for browsing Azure, inspired by http://resources.azure.com/
maintainer: Lawrence Gripper <[email protected]>
license: MIT
vendor: LawrenceGripper
formats:
- deb
- rpm
dependencies:
- git
recommends:
- rpm
dockers:
# Templates of the Docker image names.
- image_templates:
- "ghcr.io/lawrencegripper/azbrowse/azbrowse:latest"
- "ghcr.io/lawrencegripper/azbrowse/azbrowse:{{ .Tag }}"
- "ghcr.io/lawrencegripper/azbrowse/azbrowse:v{{ .Major }}"
- "lawrencegripper/azbrowse:latest"
- "lawrencegripper/azbrowse:{{ .Tag }}"
- "lawrencegripper/azbrowse:v{{ .Major }}"
skip_push: false
# Template of the docker build flags.
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
brews:
- tap:
owner: lawrencegripper
name: homebrew-tap
folder: Formula
homepage: https://github.com/lawrencegripper/azbrowse
description: An interactive CLI for browsing Azure, inspired by http://resources.azure.com/
test: |
system "#{bin}/azbrowse --version"
scoop:
bucket:
owner: lawrencegripper
name: scoop-bucket
homepage: https://github.com/lawrencegripper/azbrowse
description: An interactive CLI for browsing Azure, inspired by http://resources.azure.com/
license: MIT
# Disable snapcraft for now as snap v7 doesn't support exported creds file
# https://snapcraft.io/docs/snapcraft-authentication
# snapcrafts:
# - name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
# name: azbrowse
# summary: An interactive CLI for browsing Azure, inspired by http://resources.azure.com/
# description: |
# What can it do? Lots check out the guided tour here. https://github.com/lawrencegripper/azbrowse/blob/main/docs/getting-started.md
# grade: stable
# confinement: classic
# publish: true
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"