Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
unexpected behavior in archive:files: section -- how to specify no additional files #602
For more information, see the
It's not clear how to specify no additional files to be included in the archive. Bug? Doc Bug? Feature?
Steps to Reproduce
i wanted "classic goreleaser" behavior where the tar.gz contained just the binary. Currently, it tries to add license, readme and changelog info.
you can screw around in
This could be just a documentation bug.
hmm, I think this never worked this way, if it did, it was a bug before...
the problem is that the default is set to license and etc, so if you leave it empty it will add those files anyway.
not sure what is the right thing to do here...
ha! you are right. It always worked that way. I just checked some old packages I made using goreleaser. I never noticed!
might just be a documentation bug... or maybe?? if you put the binary name only in the files section then, that's a special case.
means "just the binary" ? Maybe that is less gross than "none*"
really not a big deal either way. I can live with "none*"