Skip to content

Commit 22228ff

Browse files
committed
- [+] added .goreleaser.yml, auto-generated from github-goreleaser.tmpl
1 parent 5c8ea49 commit 22228ff

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

.goreleaser.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
project_name: wireframe
2+
3+
archives:
4+
- format: tar.gz
5+
wrap_in_directory: true
6+
format_overrides:
7+
- goos: windows
8+
format: zip
9+
# remove README and LICENSE
10+
files:
11+
- none*
12+
13+
builds:
14+
- env: [CGO_ENABLED=0]
15+
goos:
16+
- linux
17+
- windows
18+
- darwin
19+
goarch:
20+
- amd64
21+
- arm64
22+
23+
nfpms:
24+
- maintainer: Tong Sun <[email protected]>
25+
description: wire-frame construction to get the project quickly into shape
26+
homepage: https://github.com/go-easygen/wireframe
27+
license: MIT
28+
formats:
29+
- deb
30+
- rpm
31+
- apk

github-goreleaser.tmpl

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
project_name: {{.Wireframe.Proj}}
2+
3+
archives:
4+
- format: tar.gz
5+
wrap_in_directory: true
6+
format_overrides:
7+
- goos: windows
8+
format: zip
9+
# remove README and LICENSE
10+
files:
11+
- none*
12+
13+
builds:
14+
- env: [CGO_ENABLED=0]
15+
goos:
16+
- linux
17+
- windows
18+
- darwin
19+
goarch:
20+
- amd64
21+
- arm64
22+
23+
nfpms:
24+
- maintainer: {{.Wireframe.Author}}
25+
description: {{.Wireframe.Desc}}
26+
homepage: https://github.com/{{if .Wireframe.Vendor}}{{.Wireframe.Vendor}}{{else}}{{.Wireframe.User}}{{end}}/{{.Wireframe.Proj}}
27+
license: {{.Wireframe.License}}
28+
formats:
29+
- deb
30+
- rpm
31+
- apk

0 commit comments

Comments
 (0)