forked from eolinker/apinto-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
50 lines (50 loc) · 1.07 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
# .goreleaser.yml
builds:
- id: apinto-dashboard
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- "386"
goarm:
- "6"
gomips:
- hardfloat
goamd64:
- v1
targets:
- linux_arm64
- linux_amd64
- linux_386
- darwin_arm64
- darwin_amd64
dir: ./app/apinto-dashboard
main: .
binary: apinto-dashboard
builder: go
gobinary: go
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
archives:
- id: default
format: tar.gz
wrap_in_directory: apinto-dashboard
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
files:
- src: 'builds/account.yml'
dst: /
- src: 'builds/config.yml'
dst: /
- src: 'builds/Dockerfile'
dst: /
- src: 'builds/static/*'
dst: /static
strip_parent: true
- src: 'builds/tpl/*'
dst: /tpl
strip_parent: true
release:
name_template: "{{ .Tag }}"
mode: append