-
Notifications
You must be signed in to change notification settings - Fork 103
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
Adding goreleaser #236
Adding goreleaser #236
Conversation
Including circleci Adding docs for release process
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.
LGTM 👍
RELEASE.md
Outdated
|
||
## Release Process | ||
|
||
The official binaries for Kudo is created using [goreleaser](https://goreleaser.com/) for the release process through the cicleci release job. The [.goreleaser.yml](.goreleaser.yml) defines the binaries which are supported for each release. |
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.
are created
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.
I did mean "supported"... the supported and defined platforms will be created
- restore_cache: | ||
keys: | ||
- go-mod-v1-{{ checksum "go.sum" }} | ||
- run: curl -sL https://git.io/goreleaser | bash |
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.
shouldn't we have this defined in makefile so one can run even locally?
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.
also in the future it would be nice to run tests before release. We cannot do that now though...
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.
shouldn't we have this defined in makefile so one can run even locally?
I generally like this idea. In this case, we'd add it to tools.go as well so we're pinned to a version of goreleaser - not sure if that fits in with how goreleaser is versioned though.
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.
Overall fine with keeping it how it is now and doing that in a separate PR too.
- restore_cache: | ||
keys: | ||
- go-mod-v1-{{ checksum "go.sum" }} | ||
- run: curl -sL https://git.io/goreleaser | bash |
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.
Overall fine with keeping it how it is now and doing that in a separate PR too.
lgtm |
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.
lgtm
What type of PR is this?
/kind infrastructure
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Including circleci
Adding docs for release process
Does this PR introduce a user-facing change?: