-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: Introduce goreleaser #144
feat: Introduce goreleaser #144
Conversation
Skipping CI for Draft Pull Request. |
f00aaef
to
3faecf6
Compare
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.
Rest looks fine, currently still testing
runtime-watcher/.goreleaser.yml
Outdated
ignore: | ||
- goos: darwin | ||
goarch: 386 |
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.
If we remove darwin
from goos
, then this can also be deleted
runtime-watcher/.goreleaser.yml
Outdated
format_overrides: | ||
- goos: windows | ||
format: zip |
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.
Same here, if we remove windows, then we do not need any overrides
runtime-watcher/.goreleaser.yml
Outdated
groups: | ||
- title: Bug fixes | ||
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$' | ||
order: 1 | ||
- title: Dependencies | ||
regexp: '^.*?deps(\([[:word:]]+\))??!?:.+$' | ||
order: 2 | ||
- title: Documentation | ||
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$' | ||
order: 3 | ||
- title: Test suites | ||
regexp: '^.*?test(\([[:word:]]+\))??!?:.+$' | ||
order: 4 | ||
- title: Features | ||
order: 0 | ||
filters: | ||
exclude: | ||
- "^docs:" | ||
- "^test:" | ||
- '^(B|b)ump' | ||
- '^.*?chore(\([[:word:]]+\))??!?:.+$' |
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.
Does not make sense to have a Documentation
section, but exclude it - Thus remove the exclude statement or remove the docu group. But I would say keep the docu group and remove the exclusion. Same goes for testing.
groups: | |
- title: Bug fixes | |
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$' | |
order: 1 | |
- title: Dependencies | |
regexp: '^.*?deps(\([[:word:]]+\))??!?:.+$' | |
order: 2 | |
- title: Documentation | |
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$' | |
order: 3 | |
- title: Test suites | |
regexp: '^.*?test(\([[:word:]]+\))??!?:.+$' | |
order: 4 | |
- title: Features | |
order: 0 | |
filters: | |
exclude: | |
- "^docs:" | |
- "^test:" | |
- '^(B|b)ump' | |
- '^.*?chore(\([[:word:]]+\))??!?:.+$' | |
groups: | |
- title: Bug fixes | |
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$' | |
order: 1 | |
- title: Dependencies | |
regexp: '^.*?deps(\([[:word:]]+\))??!?:.+$' | |
order: 2 | |
- title: Documentation | |
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$' | |
order: 3 | |
- title: Test suites | |
regexp: '^.*?test(\([[:word:]]+\))??!?:.+$' | |
order: 4 | |
- title: Features | |
order: 0 | |
filters: | |
exclude: | |
- '^(B|b)ump' | |
- '^.*?chore(\([[:word:]]+\))??!?:.+$' |
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 took it verbatim from the CLI project. Perhaps we should adjust it there too, then?
runtime-watcher/hack/release.sh
Outdated
get_new_release_version | ||
get_previous_release_version | ||
# release watcher with release notes generated by goreleaser | ||
curl -sL https://git.io/goreleaser | VERSION=v1.17.2 bash -s -- |
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.
Lets directly use latest one
curl -sL https://git.io/goreleaser | VERSION=v1.17.2 bash -s -- | |
curl -sL https://git.io/goreleaser | VERSION=v1.21.2 bash -s -- |
Description
Adds goreleaser configuration and related Makefile target to enable releasing from a dedicated prowjob.
Changes proposed in this pull request:
Related issue(s)
See: #134