After creating a snap, you should upload it to the Snap Store, from where it can reach a potential audience of millions, or remain private if registered as such.
You will need the following:
If your snap requires classic confinement, your snap will need manual approval before being released. See Classic confinement review process for further details.
To get started, first register a name for your snap in the Snap Store.
Return to the terminal and the location of your .snap
file. You now need to authenticate the snapcraft command using your Snapcraft developer account credentials. This can be accomplished with the following:
snapcraft login
Next, upload the snap and release it into the stable channel:
snapcraft upload --release=stable mysnap_latest_amd64.snap
If no errors are detected in the automated review of your upload, your app will be immediately available for installation.
You can now test-install your snap from the Snap Store, ideally from a different testing environment to the one used to build your snap:
sudo snap install mysnap
Congratulations, your snap has now been released and is available on the Snap Store!
See Store listing and branding for help with making the most of a snap’s store entry, and Release management for controlling which revisions appear on which channels, and to switch a snap between Public and Private visibility and access.
If you want to publish a snap temporarily, to address a fix or test a new feature, see Publish to a branch.
Last updated 1 year, 6 months ago.