[rb-general] Location for publishing source tarballs
danielsh at apache.org
Tue Jan 31 10:45:16 CET 2017
Chris Lamb wrote on Tue, Jan 31, 2017 at 18:21:36 +1300:
> As requested by bmwiedemann, we now have a canonical location for our
> source releases:
> I've added documentation to these projects with instructions on how to
> upload here, including how to GPG sign the tarball.
Looks good, except for one issue:
% tar tvf trydiffoscope-64.tar.bz2
drwxrwxr-x root/root 0 2016-12-09 11:08 trydiffoscope-64debian/
Notice how it's called "trydiffoscope-64debian/" rather than "trydiffoscope-64/debian/".
The fix for this is to add a trailing slash to the argument to the
--prefix option; that is: change «git archive --prefix=foo-42» to
«git archive --prefix=foo-42/».
Thanks for setting this up.
More information about the rb-general