-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
46 lines (45 loc) · 1.12 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
---
builds:
- env:
- CGO_ENABLED=0
main: ./cli/
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- '-s -w'
- -X github.com/drewstinnett/azurectx-go/cli/cmd.date={{ .CommitTimestamp }}
- -X github.com/drewstinnett/azurectx-go/cli/cmd.version={{ .Tag }}
- -X github.com/drewstinnett/azurectx-go/cli/cmd.commit={{ .ShortCommit }}
flags:
- -trimpath
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: 'azurectx'
archives:
- format: tar.gz
name_template: 'azurectx-{{ .Version }}_{{ .Os }}_{{ .Arch }}'
replacements:
darwin: macOS
checksum:
name_template: 'azurectx-{{ .Version }}_SHA256SUMS'
algorithm: sha256
snapshot:
name_template: "{{ .Tag }}-snapshot"
changelog:
skip: true
brews:
- name: 'azurectx'
tap:
owner: drewstinnett
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
description: "Easily switch between Azure subscriptions"
homepage: "https://github.com/drewstinnett/azurectx-go"
license: BSD-2-Clause