generated from permafrost-dev/go-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
48 lines (40 loc) · 1.18 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:
# - GOPROXY="https://proxy.golang.org,direct"
universal_binaries:
- replace: false
archives:
- id: default
wrap_in_directory: true
before:
hooks:
- make compress-path
builds:
- main: ./cmd/compress-path
binary: 'compress-path'
# Custom flags templates.
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
ldflags:
- -s -w -X main.build={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
# GOOS list to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are darwin and linux.
goos:
- darwin
- linux
- windows
# GOARCH to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are 386, amd64 and arm64.
goarch:
- amd64
- arm64
# brews:
# -
# name: 'compress-path'
# homepage: 'https://github.com/permafrost-dev/compress-path'
# description: 'Compress a path into a shorter string'
# license: "MIT"
# tap:
# owner: 'permafrost-dev'
# name: homebrew-{{app.name}}
# branch: main