Skip to content

Can archive wrap directory have a different name for the archive file? #1811

Closed Answered by csreesan
csreesan asked this question in Q&A
Discussion options

You must be logged in to vote

Actually @caarlos0 after reading through the codebase to try to contribute, I realize that this functionality is already possible.
Turns out wrap_in_directory doesn't only take in true and false but also name template.
So I could do something like wrap_in_driectory: {{ .ProjectName }} etc.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@csreesan
Comment options

@caarlos0
Comment options

@csreesan
Comment options

@caarlos0
Comment options

Comment options

You must be logged in to vote
2 replies
@csreesan
Comment options

@caarlos0
Comment options

Answer selected by caarlos0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants