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: support variable substitution in archive.files #1350

Closed
wants to merge 2 commits into from

Conversation

ostrowr
Copy link
Contributor

@ostrowr ostrowr commented Feb 17, 2020

If applied, this commit will allow template variables like {{.Os}} to appear in the archive.files field.

It can be useful to include different files in an archive depending on os and arch. This will be especially useful if names of files can be customized – I'll push up another PR shortly to get your thoughts on an approach there.

Fixes #1347

@caarlos0
Copy link
Member

thanks for the pr!

can you add some tests as well?

thanks!

@stale
Copy link

stale bot commented Mar 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Mar 3, 2020
@stale stale bot removed the wontfix This will not be worked on label Mar 4, 2020
@caarlos0
Copy link
Member

caarlos0 commented Mar 4, 2020

continues on #1373

@caarlos0 caarlos0 closed this Mar 4, 2020
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Variables in archives.files not respected
2 participants