The packagecore Command

The packagecore command is the most common route for invoking PackageCore and building packages.

Generally, it will be invoked from inside of the source code to be built as:

packagecore "$(cat VERSION)"

Doing so will cause it to load a configuration from packagecore.yaml in the same directory.

The syntax for its use is:

packagecore [options] <version> [<release number>]

Where <version> is the current version of your software, and <release number> is the current release for that version of your software.

Options

You change the default behavior of the command using the following flags/options:

The path to the yaml configuration file. Defaults to packagecore.yaml.

The source directory to build. Defaults to './'.

You can also get a list of distribution that packages can currently be built for via:

packagecore -d