Conversation
📝 WalkthroughWalkthroughA new GoReleaser configuration file for draft releases is added, and the main GoReleaser configuration is updated to always build for all supported OS and architecture combinations, removing conditional logic based on an environment variable. The draft config targets only Linux and Darwin and creates draft GitHub releases. Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant GoReleaser
participant GitHub
Developer->>GoReleaser: Trigger release (using .goreleaser.yml or .goreleaser.draft.yml)
GoReleaser->>GoReleaser: Build binaries for specified OS/Arch
GoReleaser->>GoReleaser: Generate archives and checksums
GoReleaser->>GitHub: Create (draft) release and upload artifacts
Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing Touches🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Actionable comments posted: 0
🔭 Outside diff range comments (1)
.goreleaser.yml (1)
40-44:release.draft: truehere collides with the new draft-specific file.With this flag present, every build that uses
.goreleaser.ymlwill stay in draft mode, so the separate.goreleaser.draft.ymladds no behavioral difference.- draft: true + draft: false # publish real releases; drafts handled in .goreleaser.draft.yml
🧹 Nitpick comments (3)
.goreleaser.yml (1)
18-18: Trailing whitespace sneaked in.- - 'arm'␠ + - 'arm'.goreleaser.draft.yml (2)
16-16: Trim trailing space.- - 'amd64'␠ + - 'amd64'
43-43: Trailing space here too.- prerelease: auto ␠ + prerelease: auto
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.goreleaser.draft.yml(1 hunks).goreleaser.yml(1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.37.1)
.goreleaser.draft.yml
[error] 16-16: trailing spaces
(trailing-spaces)
[error] 43-43: trailing spaces
(trailing-spaces)
.goreleaser.yml
[error] 18-18: trailing spaces
(trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Build (windows-latest, windows)
- GitHub Check: Summary
🔇 Additional comments (1)
.goreleaser.yml (1)
13-22: Full build-matrix looks good, but double-check exotic pairs.
windows/armandfreebsd/armstill fail on some older Go toolchains & runners. If CI images lag, the whole release can bomb out.A quick smoke-test matrix run or a selective exclude list can save the day.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1355 +/- ##
==========================================
+ Coverage 51.32% 51.38% +0.06%
==========================================
Files 243 243
Lines 26230 26230
==========================================
+ Hits 13462 13479 +17
+ Misses 11102 11082 -20
- Partials 1666 1669 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
what
why
Summary by CodeRabbit