Skip to content

Commit

Permalink
Added GoReleaser and basic config.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaughany committed Aug 12, 2021
1 parent 0b8a5e8 commit e9fb822
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
bin/*
README.pdf
nodes.json
*.pdf
nodes.json
dist/
.github_token
51 changes: 51 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
project_name: vcms
env_files:
github_token: ./.github_token
before:
hooks:
- go mod tidy
# - go generate ./...
builds:
- main: ./cmd/collector
id: "collector"
binary: collector
goos:
- linux
- solaris
- windows
- darwin
goarch:
- amd64
- arm64
- 386
- main: ./cmd/receiver
id: "receiver"
binary: receiver
goos:
- linux
- solaris
- windows
- darwin
goarch:
- amd64
- arm64
- 386
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
github:
owner: vaughany
name: vcms

0 comments on commit e9fb822

Please sign in to comment.