Closed
Conversation
- Update goreleaser-action to v6.0.0 (commit 286f3b1) in all 3 workflow jobs - Update goreleaser version from ~1.17.1 to ~v2 in deployment.yml - Add version: 2 at top of .goreleaser.yml (required for v2) - Remove rlcp: true from all 3 archives (now default behavior, deprecated since v1.19) References: - https://goreleaser.com/blog/goreleaser-v2/ - v2 requires version: 2 in config - https://goreleaser.com/deprecations/ - rlcp removed in v2, now default since v1.19 Co-authored-by: BagToad <47394200+BagToad@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update goreleaser version in deployment workflow
Upgrade GoReleaser to v2
Dec 8, 2025
Member
|
@copilot I think you may have misunderstood the version key requirements from the doc at https://goreleaser.com/blog/goreleaser-v2 The doc says to use Can you please also add a comment to indicate what version of goreleaser-action we are using? Add the comment to the end of the line like this: uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 #vX.X.X |
- Change version from "~v2" to "~> v2" per goreleaser v2 docs - Add "# v6.0.0" comment to all goreleaser-action uses lines Co-authored-by: BagToad <47394200+BagToad@users.noreply.github.com>
Contributor
Author
Fixed in f90c64f:
|
Member
|
Since Copilot didn't cover all the necessary changes, I'm closing this in favour of #12318. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GoReleaser deployment workflow uses v1.17.1, but v2 has been stable since June 2024 (latest: v2.13.1).
Changes
Workflow updates (
.github/workflows/deployment.yml):goreleaser-actionfrom v5 (SHAe435ccd) to v6.0.0 (SHA286f3b1) across linux, macos, and windows jobs~1.17.1to~> v2# v6.0.0) to document the goreleaser-action version on eachuseslineConfig updates (
.goreleaser.yml):version: 2directive (required for v2)rlcp: truefrom archives (default since v1.19, removed in v2)References
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.