Skip to content

Commit

Permalink
Using GoReleaser (Gophers Slack suggestion) instead of committing bin…
Browse files Browse the repository at this point in the history
…aries, plus convenience script.
  • Loading branch information
vaughany committed Aug 13, 2021
1 parent 0df7d50 commit 5e77bf2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ archives:
- replacements:
darwin: Darwin
linux: Linux
solaris: Solaris
windows: Windows
386: i386
amd64: x86_64
Expand Down
Binary file removed bin/collector
Binary file not shown.
Binary file removed bin/receiver
Binary file not shown.
9 changes: 9 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# Test it.
# goreleaser release --snapshot --skip-publish --rm-dist

# Release it.
# --skip-validate ignores git's current state.
# --rm-dist clears out the ./dist folder first.
goreleaser release --skip-validate --rm-dist

0 comments on commit 5e77bf2

Please sign in to comment.