File tree Expand file tree Collapse file tree 1 file changed +2
-37
lines changed Expand file tree Collapse file tree 1 file changed +2
-37
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
1
2
# This is an example goreleaser.yaml file with some sane defaults.
2
3
# Make sure to check the documentation at http://goreleaser.com
3
4
before :
@@ -40,43 +41,6 @@ changelog:
40
41
exclude :
41
42
- ' ^docs:'
42
43
- ' ^test:'
43
- brews :
44
- - tap :
45
- owner : OpenIoTHub
46
- name : homebrew-tap
47
- folder : Formula
48
- homepage : http://github.com/OpenIoTHub
49
- description : OpenIoTHub Server
50
- test : |
51
- system "#{bin}/server-go -v"
52
- scoop :
53
- bucket :
54
- owner : OpenIoTHub
55
- name : scoop-bucket
56
- homepage : http://github.com/OpenIoTHub
57
- description : OpenIoTHub Server.
58
- license : MIT
59
- nfpms :
60
- - file_name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
61
- homepage : https://github.com/OpenIoTHub
62
- description : OpenIoTHub Server
63
- maintainer : OpenIoTHub <newfarry@126.com>
64
- license : MIT
65
- vendor : server-go
66
- formats :
67
- - deb
68
- - rpm
69
- scripts :
70
- preinstall : " scripts/install_remove/preinstall.sh"
71
- postinstall : " scripts/install_remove/postinstall.sh"
72
- preremove : " scripts/install_remove/preremove.sh"
73
- postremove : " scripts/install_remove/postremove.sh"
74
- contents :
75
- - src : systemd/**
76
- dst : /etc/systemd/system
77
- - src : server-go.yaml
78
- dst : /etc/server-go/server-go.yaml
79
- type : config
80
44
snapcrafts :
81
45
- name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
82
46
summary : OpenIoTHub Server.
@@ -96,6 +60,7 @@ dockers:
96
60
- ' openiothub/server-go:v{{ .Major }}.{{ .Minor }}'
97
61
- ' openiothub/server-go:latest'
98
62
dockerfile : Dockerfile
63
+ use : buildx
99
64
# binaries:
100
65
# - server-go
101
66
build_flag_templates :
You can’t perform that action at this time.
0 commit comments