Skip to content
Anthony Dillon edited this page Nov 6, 2017 · 1 revision

Publishing documentation-builder

documentation-builder publishes to two platforms. Pypi is for MacOS users and Snap for Ubuntu users.

Pypi

The pypi project page: https://pypi.python.org/pypi/ubuntudesign.documentation-builder/

python setup.py sdist upload -r pypi

Snap

The snap details page: https://snapcraft.io/documentation-builder/

Login to both snapcraft and snap:

$ snapcraft login
$ snap login you@yourdomain.com

Build the snap:

snapcraft

Test the new snap works as expected. Using the --dangerous flag to allow unsigned packages to be installed.

snap install --dangerous documentation-builder_1.5.1_amd64.snap

Publish the new version to snap store:

snapcraft push documentation-builder_1.5.1_amd64.snap

Release the snap to the stable channel:

snapcraft release documentation-builder 36 stable
Clone this wiki locally