Skip to content

Commit

Permalink
re-added goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
laureanray committed Jun 29, 2022
1 parent 298f546 commit e4081e9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.idea
.goreleaser.yaml
.idea
37 changes: 37 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "clibgen"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
archives:
- format: tar.gz
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
name_template: '{{.ProjectName}}_{{.Os}}-{{.Arch}}'

0 comments on commit e4081e9

Please sign in to comment.