-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.goreleaser.yml
54 lines (54 loc) · 1.53 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
project_name: cloud-platform-cli
version: 2
env:
- DOCKERFILE=Dockerfile-goreleaser
before:
hooks:
- go mod download
- scripts/completions.sh
archives:
- files:
- README.md
- LICENSE
- completions/*
builds:
- env:
- CGO_ENABLED=0
main: ./main.go
binary: cloud-platform
goos:
- linux
- darwin
goarch:
- "386"
- amd64
- arm
- arm64
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- -s -w -X github.com/ministryofjustice/cloud-platform-cli/pkg/commands.Version={{.Version}} -X github.com/ministryofjustice/cloud-platform-cli/pkg/commands.Commit={{.Commit}} -X github.com/ministryofjustice/cloud-platform-cli/pkg/commands.Date={{ .CommitDate }}
changelog:
sort: asc
filters:
exclude:
- Merge pull request
- Merge branch
- go mod tidy
brews:
- repository:
owner: ministryofjustice
name: homebrew-cloud-platform-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
directory: Formula
homepage: https://user-guide.cloud-platform.service.justice.gov.uk/#cloud-platform-user-guide
description: Multi-purpose CLI for Ministry of Justice Cloud Platform.
license: MIT
install: |-
bin.install "cloud-platform"
bash_completion.install "completions/cloud-platform.bash" => "cloud-platform"
zsh_completion.install "completions/cloud-platform.zsh" => "_cloud-platform"
fish_completion.install "completions/cloud-platform.fish"
dependencies:
- name: go