fix: migrate org goreleaser config to v2 schema - #267
Merged
Conversation
John C. Bland II (johncblandii)
requested a review
from a team
as a code owner
August 13, 2026 17:42
This was referenced Aug 13, 2026
|
Important Cloud Posse Engineering Team Review RequiredThis pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes. To expedite this process, reach out to us on Slack in the |
Kevin (kevcube)
approved these changes
Aug 15, 2026
Erik Osterman (Cloud Posse) (osterman)
approved these changes
Sep 3, 2026
Erik Osterman (Cloud Posse) (osterman)
left a comment
Member
There was a problem hiding this comment.
Approving. Audited the merged file rather than just the diff — all three v1→v2 mappings are correct (version: 2, archives[].formats as a list, changelog.disable) and nothing else in the config is v1-only: builds, checksum, signs, and the full release block are all v2-valid. No rlcp, no builds[].skip.
Two things to keep on the radar, neither blocking:
archives[].formatslanded in GoReleaser v2.4.shared-go-auto-release.ymlinstallsversion: latestso this is fine today, but any downstream repo pinning goreleaser-action below v2.4 would break onformats.- Repos carrying their own v1
.goreleaser.ymlare still broken by #261 and need individual migrations. Worth an issue to track the remainder.
Erik Osterman (Cloud Posse) (osterman)
approved these changes
Sep 3, 2026
John C. Bland II (johncblandii)
deleted the
chore/goreleaser-v2-config
branch
September 3, 2026 20:36
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.
what
.github/goreleaser.yml, used byshared-go-auto-release.ymlfor repos without their own.goreleaser.yml) to the v2 schema:version: 2(required by GoReleaser v2 — configs without it are rejected outright)archives[].format→archives[].formats(v1 field, removed/deprecated)changelog.skip→changelog.disable(v1 field removed in v2)why
goreleaser/goreleaser-actionv5 → v7 inshared-go-auto-release.yml; under v7,version: latestinstalls GoReleaser v2, which rejects this v1-era config — so everydownstream repo relying on the org fallback config would fail its next release
github-status-updater,slack-notifier, andgithub-commenterCI broke exactly this way with their repo-local configs (fixed in their PRs);repos with their own v1
.goreleaser.ymlstill need individual migrationsgoreleaser check(v2.17.1) passes on the migratedconfig
references