Skip to content

publish command ​

Publish the current project: a release archive for static hosting, an entry of an index.

bash
fobis publish --archive DIR | --index FILE [options]

How to use it, with examples: Packages and indexes.

All options ​

OptionValueDefaultDescription
--archiveTEXTWrite the release tarball and its manifest entry into DIR.
--indexTEXTAdd or refresh this project's entry in the index FILE.
--versionTEXTTag to publish (default: the latest tag of HEAD).
--nameTEXTPackage name (default: fobos [project] name).
--sourceTEXTSource URL written in the index (default: the origin remote).