-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use go releaser to publish binaries on new tags #498
Conversation
8ac76b2
to
8a0876c
Compare
0726a9a
to
eb25535
Compare
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
eb25535
to
20d1ca1
Compare
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /v[0-9]+(\.[0-9]+)*(-.*)*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to repeat the filtering in both jobs because there is no way to filter an entire workflow
- checkout | ||
- run: curl -sfL https://goreleaser.com/static/run | bash | ||
# For dry runs use the following and comment the above | ||
# - run: curl -sfL https://goreleaser.com/static/run | bash -s -- --rm-dist --skip-publish --snapshot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took me a few minutes to find out how to do a dry run so I think this comment adds value for future us if we run into any issue
- windows | ||
- darwin | ||
goarch: | ||
- amd64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amd64 only arch supported today because we ran into issues when compiling to arm due to our metrictank dependency
This PR updates circle ci config to use goreleaser to publish binaries on github releases whenever a new tag is created.