Skip to content

fix(release): replace deprecated 'folder' field with 'directory' in GoReleaser config#42

Merged
platinummonkey merged 1 commit into
mainfrom
fix/goreleaser-homebrew-folder-field
Feb 11, 2026
Merged

fix(release): replace deprecated 'folder' field with 'directory' in GoReleaser config#42
platinummonkey merged 1 commit into
mainfrom
fix/goreleaser-homebrew-folder-field

Conversation

@platinummonkey
Copy link
Copy Markdown
Collaborator

Summary

Fixes the GoReleaser release workflow failure by replacing the deprecated folder field with directory in the Homebrew brew configuration.

Problem

The release workflow was failing with error:

yaml: unmarshal errors:
  line 169: field folder not found in type config.Homebrew

The folder field was deprecated in GoReleaser v2.x and replaced with directory.

Changes

  • Updated .goreleaser.yml:169 to use directory instead of folder

Testing

  • Configuration change validated against GoReleaser v2.13.3 documentation
  • Will be tested when release workflow runs on this PR merge

Related Issues

Fixes release workflow run #21913974032


🤖 Generated with Claude Code

…oReleaser config

The 'folder' field in the homebrew brew configuration was deprecated
in GoReleaser v2.x and replaced with 'directory'. This was causing
the release workflow to fail with:
  "field folder not found in type config.Homebrew"

Changes:
- Updated .goreleaser.yml:169 to use 'directory' instead of 'folder'

Fixes release workflow failure in run #21913974032

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@platinummonkey platinummonkey requested a review from a team as a code owner February 11, 2026 16:42
@platinummonkey platinummonkey merged commit 83fefcf into main Feb 11, 2026
4 checks passed
@platinummonkey platinummonkey deleted the fix/goreleaser-homebrew-folder-field branch February 11, 2026 16:48
@github-actions
Copy link
Copy Markdown

📊 Test Coverage Report

Overall Coverage: 81.7% Coverage

Threshold: 80% ✅

Coverage by Package
## Coverage by Package

- github.com/DataDog/pup/pkg/auth/callback/server.go:40: 81.2%
- github.com/DataDog/pup/pkg/auth/dcr/client.go:28: 100.0%
- github.com/DataDog/pup/pkg/auth/dcr/types.go:24: 100.0%
- github.com/DataDog/pup/pkg/auth/oauth/client.go:22: 100.0%
- github.com/DataDog/pup/pkg/auth/oauth/pkce.go:24: 85.7%
- github.com/DataDog/pup/pkg/auth/storage/factory.go:53: 94.7%
- github.com/DataDog/pup/pkg/auth/storage/keychain.go:44: 42.9%
- github.com/DataDog/pup/pkg/auth/storage/storage.go:58: 71.4%
- github.com/DataDog/pup/pkg/auth/types/types.go:23: 100.0%
- github.com/DataDog/pup/pkg/client/client.go:32: 94.4%
- github.com/DataDog/pup/pkg/config/alias.go:26: 100.0%
- github.com/DataDog/pup/pkg/config/config.go:22: 100.0%
- github.com/DataDog/pup/pkg/formatter/formatter.go:31: 100.0%
- github.com/DataDog/pup/pkg/useragent/useragent.go:32: 100.0%
- github.com/DataDog/pup/pkg/util/time.go:20: 95.8%

## Summary

total:								(statements)		81.7%

📈 Coverage Status: ✅ PASSED - Coverage meets minimum threshold

Updated for commit cc34f32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant