-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoreleaser.yaml
More file actions
47 lines (43 loc) · 929 Bytes
/
goreleaser.yaml
File metadata and controls
47 lines (43 loc) · 929 Bytes
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
project_name: proxyinbrowser
version: 2
before:
hooks:
- echo "Startup Building!"
- make pack-js # packing payloads
- cp build/bundle.js ./cmd/server/sessionmanager/bundle.js # copy to embed location
- go mod tidy # build prepare
- go test -v ./... # regenerate certs
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- "386"
- amd64
- arm64
main: ./cmd/server/main.go
binary: server
archives:
- name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
files:
- README.md
- cert/*
- src: build/bundle.js
dst: bundle.js
strip_parent: true
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^doc:"
- "^ci:"
- "^Merge pull request"