Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Partial to pkg/config #4635

Closed
3 tasks done
TylerHelmuth opened this issue Feb 14, 2024 · 3 comments
Closed
3 tasks done

Add Partial to pkg/config #4635

TylerHelmuth opened this issue Feb 14, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@TylerHelmuth
Copy link

Is your feature request related to a problem? Please describe.

We use the types in https://pkg.go.dev/github.com/goreleaser/[email protected]/pkg/config to help auto-generate our .goreleaser.yaml. I noticed today that config does not expose a Partial section, despite partial.by being configurable at the root of a .goreleaser.yaml.

Describe the solution you'd like

Add a Partial section to config.

Describe alternatives you've considered

Making my own struct, which is what I'll do for now.

Search

  • I did search for other open and closed issues before opening this

Supporter

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

Related to open-telemetry/opentelemetry-collector-releases#429

@caarlos0
Copy link
Member

interesting, yeah, I'll have to make the goreleaser pro's config public.

It'll probably live in github.com/goreleaser/goreleaser-pro/pkg/config

Will work on this sometime this week/weekend.

Thanks for the feedback :D

@caarlos0 caarlos0 removed the triage Issue pending triage by one of the maintainers label Feb 15, 2024
@caarlos0
Copy link
Member

You can now:

go get github.com/goreleaser/goreleaser-pro/pkg/config@main

Once we release 1.25, the config will also be tagged there.

Let me know if that works for you 🙏

@caarlos0 caarlos0 added this to the v1.25.0 milestone Feb 28, 2024
@caarlos0
Copy link
Member

closing as done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants