forked from beclab/Olares
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
56 lines (56 loc) · 1.05 KB
/
.goreleaser.yml
File metadata and controls
56 lines (56 loc) · 1.05 KB
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
project_name: olaresd
builds:
- id: linux_amd64
env:
- CGO_ENABLED=1
main: ./cmd/terminusd/main.go
binary: olaresd
goarch:
- amd64
goos:
- linux
tags:
containers_image_openpgp
ldflags:
- -w
- -s
- -X 'github.com/beclab/Olares/daemon/cmd/terminusd/version.version=v{{ .Version }}'
- id: linux_arm64
env:
- CGO_ENABLED=0
# - CC=aarch64-linux-gnu-gcc
# - CXX=aarch64-linux-gnu-g++
main: ./cmd/terminusd/main.go
binary: olaresd
goarch:
- arm64
goos:
- linux
tags:
containers_image_openpgp
ldflags:
- -w
- -s
- -X 'github.com/beclab/Olares/daemon/cmd/terminusd/version.version=v{{ .Version }}'
dist: output
archives:
- name_template: "olaresd-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
replacements:
linux: linux
amd64: amd64
arm64: arm64
files:
- none*
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}-next-{{.ShortCommit}}"
changelog:
skip: true
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
disable: true