Repository navigation
Fix GoReleaser v2 release workflow - #131
Conversation
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1. The set of release artifacts changes (
|
- GoReleaser v2 defaults to linux/darwin/windows x amd64/arm64/386, which would add Windows archives that were never distributed before - Drop 386 since 32-bit Linux builds are no longer needed - Release archives: Linux_x86_64, Linux_arm64, Darwin_x86_64, Darwin_arm64
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #131 +/- ##
==========================================
- Coverage 81.23% 80.24% -1.00%
==========================================
Files 15 16 +1
Lines 453 572 +119
==========================================
+ Hits 368 459 +91
- Misses 63 91 +28
Partials 22 22
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The release job fails because GoReleaser v2 rejects
--rm-dist. The existing configuration also uses a legacy schema that v2 no longer supports.release --clean, and grant release-writing permission.