Skip to content

Commit

Permalink
fix: add the goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
domdepasquale committed Sep 15, 2021
1 parent 9c183dc commit 6f7b13b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.go-project.mk
.goreleaser.yml
devtool
.devtool.config
.vscode
dist/
39 changes: 39 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
env:
- CGO_ENABLED=0
- GO111MODULE=on
- GOPROXY=https://proxy.golang.org
before:
hooks:
#- go mod tidy
builds:
- ldflags:
- -X git.psu.edu/swe-golang/buildversion.commit={{.ShortCommit}}
- -X git.psu.edu/swe-golang/buildversion.version={{.Version}}
- -X git.psu.edu/swe-golang/buildversion.buildDate={{.Date}}
flags:
- -trimpath
goos:
- windows
- darwin
- linux
goarch:
- amd64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT-{{ .ShortCommit }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- Merge pull request
- Merge branch
brews:
- tap:
owner: pennstate
name: homebrew-tap
folder: Formula

0 comments on commit 6f7b13b

Please sign in to comment.