-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
97 lines (91 loc) · 2.86 KB
/
.goreleaser.yaml
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
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
ldflags:
- -s -w
- -X go.szostok.io/version.version={{.Version}}
- -X go.szostok.io/version.buildDate={{.Date}}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^.github:'
- '^.vscode:'
archives:
- name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: zip
brews:
- name: azctx
repository:
owner: whiteducksoftware
name: homebrew-tap
branch: main
token: "{{ .Env.AUTH_GITHUB }}"
dependencies:
- azure-cli
url_template: "https://github.com/whiteducksoftware/azctx/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: "{{ .Env.GITHUB_ACTOR }}"
email: "{{ .Env.GITHUB_ACTOR_ID }}+{{ .Env.GITHUB_ACTOR }}@users.noreply.github.com"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://github.com/whiteducksoftware/azctx"
description: "Faster switching between Azure Subscriptions in your Azure CLI"
license: "MIT"
install: |
bin.install "azctx"
winget:
- name: azctx
publisher: "white duck GmbH"
path: "manifests/w/whiteducksoftware/azctx/{{ .Version }}"
short_description: "Faster switching between Azure Subscriptions in your Azure CLI"
license: "mit"
publisher_url: "https://whiteduck.de/en/"
publisher_support_url: "https://whiteduck.de/en/contact/"
package_identifier: whiteducksoftware.azctx
url_template: "https://github.com/whiteducksoftware/azctx/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: "{{ .Env.GITHUB_ACTOR }}"
email: "{{ .Env.GITHUB_ACTOR_ID }}+{{ .Env.GITHUB_ACTOR }}@users.noreply.github.com"
commit_msg_template: "WinGet manifest update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://github.com/whiteducksoftware/azctx"
license_url: "https://github.com/whiteducksoftware/azctx/blob/main/LICENSE"
copyright: "Copyright 2023 white duck GmbH"
skip_upload: auto
release_notes: "{{.Changelog}}"
release_notes_url: "https://github.com/whiteducksoftware/azctx/releases/tag/{{ .Tag }}"
tags:
- azure
- azure-cli
dependencies:
- package_identifier: Microsoft.AzureCLI
minimum_version: 2.50.0
repository:
owner: whiteducksoftware
name: winget-pkgs
branch: azctx-{{ .Version }}
token: "{{ .Env.AUTH_GITHUB }}"
pull_request:
enabled: false
draft: true
base:
owner: microsoft
name: winget-pkgs
branch: master