This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
.goreleaser.yml
64 lines (64 loc) 路 1.38 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
project_name: hopp-cli
release:
github:
owner: hoppscotch
name: hopp-cli
prerelease: auto
draft: false
name_template: "hopp-cli {{.Version}}"
before:
hooks:
- go mod tidy
env:
- RELEASE_BUILDS=dist/hopp-cli_darwin_amd64/hopp-cli dist/hopp-cli_darwin_arm64/hopp-cli dist/hopp-cli_linux_386/hopp-cli dist/hopp-cli_linux_amd64/hopp-cli dist/hopp-cli_windows_386/hopp-cli.exe dist/hopp-cli_windows_amd64/hopp-cli.exe
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.buildVersion={{.Version}}
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm64
targets:
- linux_amd64
- linux_arm64
- windows_amd64
- windows_arm64
- darwin_amd64
- darwin_arm64
hooks:
post: make pack-releases
ignore:
- goos: darwin
goarch: 386
archives:
- replacements:
darwin: macOS
386: i386
linux: linux
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- name: hopp-cli
tap:
owner: athul
name: homebrew-tap
token: "{{ .Env.HB_TOKEN }}"
folder: Formula
homepage: "https://github.com/hoppscotch/hopp-cli"
description: "CLI for Hoppscotch.io"
install: bin.install "hopp-cli"