Conversation
|
@wader, I have a question regarding the How should we handle this in future releases? Please let me know your thoughts! |
| main: ./cmd/devd | ||
| binary: devd | ||
| env: | ||
| - CGO_ENABLED=0 |
There was a problem hiding this comment.
Do we want -trimpath also? as in understand default config debug and symbols are stripped by default? (-s -w)
Also maybe -tags osusergo,netgo for linux? not sure devd will end up using any libc but if so it might be good to binaries work on non-glibc linux (like alpine). Fully static at least for linux would be nice, there is some discussion in golang/go#26492 what is needed
I think how the CHANGELOG.md looks atm is quite nice. List of short summaries of the user visible and important changes. I usually even like examples if possible. So in that case prepare CHANGELOG.md before release/during development and then later copy/paste same text into the gitbhub unpublished release created by goreleaser. |
|
I think this looks good. Merge even thought we need help to get a token? |
|
In my opinion, there seems to be a better alternative. I have decided that it would be best to close this #135 PR. I will look for an alternative and post a new PR later! |
|
@chebread Ok 👍 i'm not very up to date what alternatives there are, only used goreleaser |
This PR automates the CD pipeline by introducing GoReleaser and GitHub Actions, replacing the legacy
godistscript.Changes
.github/workflows/release.yml. The release process is now automated and triggered by pushing a version tag (e.g.,v0.10.0)..goreleaser.yamlmatches the previous 9 cross-compilation targets fromgodist, with the crucial addition ofdarwin_arm64to support modern Apple Silicon.{{ProjectName}}_{{Version}}_{{Os}}_{{Arch}}) rather than custom legacy suffixes (e.g.,osx64,linuxARM), ensuring better compatibility with automated tools.dist/to.gitignoreto prevent tracking build artifacts.Developmentsection: Removed outdated references todepandgodist, and clarified that the project uses standard Go modules and GoReleaser.Verification
I have verified that the entire workflow functions flawlessly on my fork repository: