Skip to content

Commit

Permalink
initial goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
progrium committed Mar 14, 2021
1 parent f569dd2 commit 13ceb65
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

**/.DS_Store
/local
/dist
dist/
24 changes: 24 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- env:
goos:
- darwin
goarch:
- amd64
archives:
- replacements:
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

build:
go build -o local/topframe .
go build -o local/topframe .

release:
goreleaser --snapshot --skip-publish --rm-dist

clean:
rm -rf ./dist

0 comments on commit 13ceb65

Please sign in to comment.