Le 14/02/2012 22:58, /dev/ammo42 a écrit :
On Tue, 14 Feb 2012 22:43:29 +0100 Francois Andriotfrancois.andriot@free.fr wrote:
Le 14/02/2012 22:21, /dev/ammo42 a écrit :
Hello, I'd like to know if there is an existing script or method to build "official" source tarballs from git. I need to get tarballs that "look like" the ones that are delivered for official releases, e.g. that I can build exactly in the same way that I build official releases tarballs.
git-archive(1) ?
Hello, of course I've found that I can simply tar the existing Git directory structure.
I was not talking about using tar directly but the "git archive" command, which according to the manpages seems to do what you want. But since I didn't actually try it I don't know if it behaves well with admin and cmake folders.
It does not work as expected either.
Francois