-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
56 lines (52 loc) · 1.13 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
49
50
51
52
53
54
55
56
version: 2
project_name: envp
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
binary: "{{ .ProjectName }}"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
goarm:
- "6"
- "7"
archives:
- format: tar.gz
wrap_in_directory: "true"
checksum:
name_template: 'checksums.txt'
algorithm: sha256
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "README"
- "Merge pull request"
- "Merge branch"
brews:
- name: "envp"
repository:
owner: sunggun-yu
name: homebrew-tap
branch: main
description: "Cli wrapper to set profile based environment variables for your command line execution"
homepage: https://github.com/sunggun-yu/envp
directory: Formula
download_strategy: CurlDownloadStrategy
install: |
bin.install "{{ .ProjectName }}"
test: |
system "#{bin}/{{ .ProjectName }} -v"