Index of /support/ctanupload
      Name                    Last modified       Size  Description

[DIR] Parent Directory 25-Jan-2021 18:52 - [   ] Makefile.example 09-May-2012 05:24 1k [   ] ctanupload.pdf 09-May-2012 05:24 166k [   ] 09-May-2012 05:24 16k [TXT] ctanupload.tex 09-May-2012 05:24 9k

ctanupload script
This Perl script allows the uploads of a contribution to CTAN from the command line.
It is intended to simplify the release process for LaTeX package authors.

Copyright (C) by Martin Scharrer <>
Source code repository:
Please report bugs and feature requests at

ctanupload <options> --<name>=<value>

Arguments can also be given using the CTANUPLOAD environment variable which are processed first, so that
explicit arguments will overwrite them.

  -p         Prompt for missing values. (default if run in terminal)
  -P         Do not prompt for missing values. (default if not run in terminal)
  -y         Do not ask for confirmation, but submit immediately.
  -u <URL>   CTAN URL to upload to (defaults to CTAN_URL environment variable or random if not set)
  -U <name>  CTAN server to upload to, either 'dante' or 'uktug'.
  -F <file>  Read data from file
  -f         Force upload even if input seems incorrect (unknown license etc.).
  -v         Verbose mode.
  -q         Quiet mode.
  -l         Write log file.
  -L         Do not write log file. (default)
  -o <file>  Define log file. (still requires -l)
  -h         Print this help and exit.
  -V         Print version number.

The following fields exists and can be given as
--<name>=<value>, --<name> <value>, --<name>-file=<file>, --<name>-file <file>
or as environment variables: CTAN_<NAME>, CTAN_<name>, <NAME> or <name>.

    contribution     Name of your contribution
         version     Version number
            name     Your name
           email     Your email
         summary     Summary description
       directory     Suggested CTAN directory
   DoNotAnnounce     No need to announce this update
        announce     Short description for announcement
           notes     Optional notes to the CTAN maintainers
         license     License type
     freeversion     Which free license
            file     File to upload

Valid license types:
            free     Free
    nocommercial     Nocommercial
          nosell     Nosell
        nosource     Nosource
       shareware     Shareware
        artistic     Perl Artistic (Clarified or later)
   other-nonfree     Other nonfree License

Valid free license:
         apache2     Apache License v2.0
        artistic     Perl Artistic License (version 2)
             fdl     GNU Free Documentation License
             gfl     GUST Font License
             gpl     GNU General Public License
            lgpl     Lesser GPL
            lppl     LaTeX Project
             ofl     Open Font License
              pd     Public Domain
      other-free     Other Free