Skip to content

CHORE: GoReleaser align changelog regex with actual provider constants#4072

Merged
tlimoncelli merged 2 commits intoStackExchange:mainfrom
cafferata:chore/goreleaser-provider-specific-changes
Feb 10, 2026
Merged

CHORE: GoReleaser align changelog regex with actual provider constants#4072
tlimoncelli merged 2 commits intoStackExchange:mainfrom
cafferata:chore/goreleaser-provider-specific-changes

Conversation

@cafferata
Copy link
Copy Markdown
Collaborator

@cafferata cafferata commented Feb 10, 2026

Summary

The GoReleaser changelog regex for the "Provider-specific changes" section used provider names that didn't always match the actual providerName constants defined in the provider Go code. This caused some provider-specific commits to be miscategorized under "Other changes and improvements" instead.

Real-world example from v4.34.0:

The commit 47866f9: BUNNY_DNS: Add support for PullZone (PZ) record type (#4053) ended up under "Other changes and improvements" instead of "Provider-specific changes", because the regex contained bunnydns (no underscore) while the commit prefix uses the provider constant BUNNY_DNS (with underscore).

Changes

All regex entries are now aligned with the actual providerName constants from each provider's Go source:

Old (regex) New (= provider constant) Change
akamaiedge akamaiedgedns Added dns suffix
axfrd axfrddns Added dns suffix
azure azure_dns Added underscore + dns suffix
bunnydns bunny_dns Added underscore
cloudflare cloudflareapi Added api suffix
cloudflareapi_old (removed) No longer exists as a provider
doh dnsoverhttps Full constant name
gandi gandi_v5 Added underscore + v5 suffix
hetznerv2 hetzner_v2 Added underscore

All 61 provider names now exactly match their providerName constant (case-insensitive).

@cafferata cafferata added the build Pull requests that updates CI code label Feb 10, 2026
@cafferata cafferata self-assigned this Feb 10, 2026
@tlimoncelli tlimoncelli merged commit db92276 into StackExchange:main Feb 10, 2026
4 checks passed
@cafferata cafferata deleted the chore/goreleaser-provider-specific-changes branch February 11, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull requests that updates CI code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants