Skip to content

Commit

Permalink
- [+] added .goreleaser.yml, auto-generated from github-goreleaser.tmpl
Browse files Browse the repository at this point in the history
  • Loading branch information
suntong committed Jun 6, 2021
1 parent 5c8ea49 commit 22228ff
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
project_name: wireframe

archives:
- format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
# remove README and LICENSE
files:
- none*

builds:
- env: [CGO_ENABLED=0]
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64

nfpms:
- maintainer: Tong Sun <[email protected]>
description: wire-frame construction to get the project quickly into shape
homepage: https://github.com/go-easygen/wireframe
license: MIT
formats:
- deb
- rpm
- apk
31 changes: 31 additions & 0 deletions github-goreleaser.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
project_name: {{.Wireframe.Proj}}

archives:
- format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
# remove README and LICENSE
files:
- none*

builds:
- env: [CGO_ENABLED=0]
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64

nfpms:
- maintainer: {{.Wireframe.Author}}
description: {{.Wireframe.Desc}}
homepage: https://github.com/{{if .Wireframe.Vendor}}{{.Wireframe.Vendor}}{{else}}{{.Wireframe.User}}{{end}}/{{.Wireframe.Proj}}
license: {{.Wireframe.License}}
formats:
- deb
- rpm
- apk

0 comments on commit 22228ff

Please sign in to comment.