Next: , Previous: , Up: Automated FTP Uploads   [Contents][Index]


11.6.3 FTP Upload Release File Triplet

Ordinarily, the goal is to upload a new release of your package, let’s say, the source archive foo-1.0.tar.gz. To do this, you simultaneously upload three files:

  1. The file to be distributed; in our example, foo-1.0.tar.gz.
  2. Detached GPG binary signature file for (1); for example, foo-1.0.tar.gz.sig. Make this with ‘gpg -b foo-1.0.tar.gz’.
  3. A clearsigned directive file; for example, foo-1.0.tar.gz.directive.asc, created with ‘gpg --clearsign foo-1.0.tar.gz.directive’. Its contents are described in the next section.

The names of the files are important. The signature file must have the same name as the file to be distributed, with an additional .sig extension. The directive file must have the same name as the file to be distributed, with an additional .directive.asc extension. If you do not follow this naming convention, the upload will not be processed.