-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
48 lines (43 loc) · 1.22 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
env:
- GITHUB_TOKEN={{ if index .Env "GITHUB_TOKEN" }}{{ .Env.GITHUB_TOKEN }}{{else}}''{{end}}
archives:
- format: binary
name_template: "shipyard-{{ .Os }}-{{ .Arch }}"
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
binary:
shipyard-{{.Os}}-{{.Arch}}
ldflags:
- -s -w
- -X github.com/khulnasoft-lab/shipyard/version.GitCommit={{.ShortCommit}}
- -X github.com/khulnasoft-lab/shipyard/version.Version={{.Version}}
checksum:
name_template: 'checksums.txt'
changelog:
skip: true
brews:
-
name: shipyard
tap:
owner: shipyard
name: homebrew-tap
branch: main
url_template: "https://github.com/khulnasoft-lab/shipyard/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: shipyard
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://shipyard.khulnasoft.com"
description: "A tool to manage Ephemeral Environments on the Shipyard platform"
license: "Apache2"
install: |
bin.install "shipyard-{{.Os}}-{{.Arch}}" => "shipyard"