-
Notifications
You must be signed in to change notification settings - Fork 1
Goreleaser
obs-gh-alexlew edited this page May 31, 2024
·
1 revision
goreleaser
is the tool we use to build and distribute builds of observe-agent
. It can target multiple OS and architecture outputs and also bundle files into packages. It can also publish these packages to various repos including apt
repos and brew
. Generally for actual releases we should be using the Github Action which runs whenever we push a new tag. However, it can be useful to have goreleaser
installed locally so that you can generate builds to test on various test environments.
First, install goreleaser pro. On MacOS the command is
brew install goreleaser/tap/goreleaser-pro
Then, set the following secrets:
GORELEASER_KEY
GITHUB_TOKEN
FURY_TOKEN
Once goreleaser
is installed you can generate local snapshot builds with the following command
goreleaser release --prepare --clean --snapshot