-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
44 lines (38 loc) · 934 Bytes
/
.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
project_name: vetu
before:
hooks:
- go mod download
builds:
- main: cmd/vetu/main.go
ldflags: >
-X github.com/cirruslabs/vetu/internal/version.Version={{.Version}}
-X github.com/cirruslabs/vetu/internal/version.Commit={{.ShortCommit}}
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
archives:
- id: binary
format: binary
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
- id: regular
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
release:
prerelease: auto
nfpms:
- package_name: vetu
vendor: Cirrus Labs, Inc.
homepage: https://github.com/cirruslabs/vetu
maintainer: [email protected]
description: CLI for executing Cirrus tasks locally and in any CI
section: misc
scripts:
postinstall: "scripts/postinstall.sh"
formats:
- deb
- rpm
furies:
- account: cirruslabs