-
Notifications
You must be signed in to change notification settings - Fork 14
/
.goreleaser.yml
45 lines (45 loc) · 1.04 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
before:
hooks:
- go mod tidy
builds:
- id: gs
binary: gs
env:
- CGO_ENABLED=0
flags:
- -trimpath
goos:
- linux
ldflags:
- -s -w
main: ./cmd/main.go
nfpms:
- id: apt-transport-gs-deb
package_name: apt-transport-gs
# https://github.com/goreleaser/goreleaser/issues/2095
file_name_template: 'apt-transport-gs_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
bindir: /usr/lib/apt/methods
builds:
- gs
formats:
- deb
license: MIT
homepage: https://github.com/dhaivat/apt-gcs
maintainer: Dhaivat Pandit <[email protected]>
description: APT transport for Google Cloud Storage
checksum:
disable: true
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# Include only the deb artifacts, not loose binaries or tarballs.
# https://github.com/goreleaser/goreleaser/discussions/2096#discussioncomment-451535
archives:
- id: default
format: binary
release:
ids:
- apt-transport-gs-deb