-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
57 lines (53 loc) · 1.25 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
57
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
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"
tap:
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
folder: Formula
download_strategy: CurlDownloadStrategy
install: |
bin.install "{{ .ProjectName }}"
test: |
system "#{bin}/{{ .ProjectName }} -v"