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

feat: split goreleaser configs into separate files #102

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aymanbagabas
Copy link
Member

Use Goreleaser include feature to split the configs into smaller components.

Fixes: #69

Use Goreleaser include feature to split the configs into smaller components.

Fixes: #69
@aymanbagabas
Copy link
Member Author

aymanbagabas commented Jul 18, 2023

@caarlos0 can we pass a list as a variable? So instead of hard-coding the dependencies here, we pass it as a variable dependencies: [ "foo", "bar" ] then refer to it by dependencies: {{ .Var.dependencies }}

https://github.com/charmbracelet/meta/blob/main/goreleaser-soft-serve.yaml#L105-L106
https://github.com/charmbracelet/meta/blob/main/goreleaser-soft-serve.yaml#L129-L130

@caarlos0
Copy link
Member

unfortunately no... I have an internal ticket to figure out ways to override things without using variables, but haven't made any progress on it yet.

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.

[GoReleaser] Split config into smaller parts
2 participants