previousValidating The Package Definition File (Previous) (Next) Releasing The Package Through The Web Interfacenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Packaging The Release Tarball

Now that your package has a valid package definition file, you can package the release tarball. Cd to the top-level directory of the package and run: pear package This will create the release tarball that will be used later to upload the new release.

Note: Please note that the zlib extension needs to be enabled in your PHP build in order to create the release tarball.

Next, you should install the package locally by running: pear install <file> (file is the tarball you just created). This is done to ensure that the package definition file is not only valid but also contains valid information. You should manually check that every file is installed in the right place. If your package contains test scripts, which is highly recommended, you should run them.

If anything fails at this stage, correct it and re-package and re-test. When everything seems OK, proceed.

previousValidating The Package Definition File (Previous) (Next) Releasing The Package Through The Web Interfacenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.