Subject: | CommitBuild frequently commits non-build files to release branch |
when you do
dzil release
[TestRelease] makes the "build" directory dirty, and adds non-release files to the tree, such as MYMETA.json , and files pulled in by tests, such as the Debian file for Kwalittee tests.
This problem has been happening for a reasonably long time, and I've just procrastinated and forgotten to report it.
But take a look at this and see what I mean: https://github.com/kentfredric/ElasticSearchX-Model-Generator/tree/releases
There is a *LOT* of cruft there injected during Build/Test , and it really should more closesly resemble : https://github.com/kentfredric/ElasticSearchX-Model-Generator/tree/build/master
This is most notably annoying if you're trying to compare the build prior to a new release with "git diff releases build/master " to see the difference relative to CPAN.
My current workaround is "git diff -D releases build/master" which hides elements from "releases" that are not also in "build/master", which is a good workaround, but all the same, this is a reasonably annoying bug that aught to be fixed.